Better HN
topnewbestaskshowjobs
Log inSign up

vier

255 karma · joined Mar 19, 2010 (16y ago) · 25 submissions

Submissions

comment 13y ago · link · parent

Why less memory than segmented stacks?

Lthread is a cool experiment but coroutines in C is a dubious ideal. If you're writing a program in C/C++, presumably you want ultimate control and the fastest possible execution. You wouldn't introduce extra runtime complexity and a speed hit for easier to use APIs (blocking I/O functions). You'd just use epoll and non-blocking sockets (or libuv). That's not to say that coroutines/green threads/goroutines in high-level languages where you've already decided to take a speed hit for easier use isn't useful. Said another way: if your concern is about easy to read code, C is not the right choice; if your concern is speed: copying a stack on every i/o function is not the right choice.

comment 13y ago · link · parent

The luvit page notably lacks a link to libuv - the I/O engine behind it.

https://github.com/joyent/libuv

comment 13y ago · link · parent

digressing from luvit...

how does the stack copying technique (as used in lthread) compare to segmented stacks (as used in go)? The swap technique is very simple but I would assume that the stack copy shows up in profiles and is significantly slower than the segmented stack technique... Are there any benchmarks?

comment 14y ago · link · parent

it's a build dependency not a runtime dependency

comment 14y ago · link · parent

I don't know any drug dealers who take that.

6.

Node v0.7.6 released with V8 3.9, Win x64 build, hrtime binding, and more(blog.nodejs.org ↗)

5 points · by vier · 14y ago · discuss

7.

Where does your Node.js program spend its time?(dtrace.org ↗)

22 points · by vier · 14y ago · 1 comment

8.

CoreJS: a new CoffeeScript web framework(core-js.org ↗)

11 points · by vier · 14y ago · 2 comments

comment 14y ago · link · parent

Using libuv from Node.js too. Awesome.

comment 15y ago · link · parent

Here are some numbers from last month https://gist.github.com/1166690

11.

Ldap.js(ldapjs.org ↗)

123 points · by vier · 15y ago · 15 comments

comment 15y ago · link · parent

see http://joyeur.com/2011/08/11/node-js-meetup-distributed-web-...

13.

Josi: a new web framework for Node(thatismatt.github.com ↗)

24 points · by vier · 16y ago · 12 comments

14.

Bespin to move to Node.js(groups.google.com ↗)

64 points · by vier · 16y ago · 7 comments

comment 16y ago · link · parent

Don't miss the video http://vimeo.com/11613517

comment 16y ago · link · parent

Grow up. C programs are ported painfully to each operating system. This is the reality programming in C. If the author does not support your system, he simply has not spent the time to port it. Proper autoconf tests isn't going to magically make software run on BSDs because the proper test won't be apparent until the author attempts to compile on BSDs. Does it suck? Yes. Has it ever been any different? No.

comment 16y ago · link · parent

Are you kidding? What is this: http://www.google.com/codesearch/p?hl=en#zAePDxanDsk/openamq...

comment 16y ago · link · parent

that's exactly what it's doing