Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
regi
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
1.
▲
by
regi
10y ago
38% + about 1 month of net income to pay each year as income tax. There's absolutely no visibility on retirement plan. You just know that you earn "points", with no idea what they're worth. Also, when you rent in France
2.
▲
by
regi
10y ago
So I spent 3 years in Epitech, which forked into 42, and the first 4 weeks aren't a competition but more like an onboarding thing. You basically learn C in 4 weeks, with coding tests pretty much every day. It sets the base and it turns
3.
▲
by
regi
12y ago
Oh, so this is your thing right? Checking people's background... https://news.ycombinator.com/item?id=8183055 ;) And as I'm saying in following comments, even in 2006, this was poor performance.
4.
▲
by
regi
12y ago
The C10k problem is 15-20 years old. Tcl uses select() which can handle a maximum of 1024 FDs. In other words, it would not be able to handle more than 1024 connections in parallel. Moreover, Linux and FreeBSD have introduced syscalls comp
5.
▲
by
regi
12y ago
"From SMTP filters/routers that handle millions of email deliveries a week to in-memory message journaling (for redundancy) that handle hundreds of transactions per second." I stopped right there. To me, high performance is f
6.
▲
by
regi
12y ago
I fully agree. And besides being outdated, this article totally matches the expression: "Torture numbers and they'll confess to anything".
7.
▲
Apple sends out invites for September 9 event
(venturebeat.com)
4 points
by
regi
12y ago
|
0 comments
8.
▲
by
regi
12y ago
Wow. How many videos is this?!
9.
▲
by
regi
12y ago
It uses "user-space threads" similar to ucontext (swapcontext(3)). I have my own version: https://github.com/reginaldl/fcontext Once the stack allocated for a thread, context switches are almost as cheap as a
10.
▲
RiNOO: (a)?synchronous sockets in C
(github.com)
4 points
by
regi
12y ago
|
0 comments
11.
▲
by
regi
12y ago
Callbacks can be avoided using co-routines. I started a project that uses asynchronous sockets but they appear synchronous. With a bit of abstraction, it's really easy to develop network applications even in C: https://githu
12.
▲
by
regi
12y ago
And anything that requires more than 1024 fds...
13.
▲
by
regi
12y ago
How come this code has 117 stars on github?! Here's something that is probably safer and that actually scales: https://github.com/reginaldl/librinoo
14.
▲
by
regi
13y ago
You show me yours, I show you mine ;) https://github.com/reginaldl/librinoo Just to comment on your post, as using blocking calls in coroutine might be a nice feature I think it defeats the whole concept of coroutine.
15.
▲
by
regi
13y ago
We often forget that even though this common problem of replacing callbacks is getting more critical and urgent, people already thought about it and gave some solutions. Maybe not in higher level languages (although I think Go does a great
16.
▲
by
regi
13y ago
Interesting. I'm attempting to do pretty much the same thing in C: http://github.com/reginaldl/librinoo