Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm a little confused by your comment. This article is a pedagogical exercise: it demonstrates how thread creation works on Linux by implementing it from scratch using assembly. The author's intention is not to create a new library, but rather to show how such a library might be implemented. Nowhere does the author advocate doing this in production code over using the standard implementation of Pthreads on Linux (https://en.wikipedia.org/wiki/Native_POSIX_Thread_Library).


>>"The author's intention is not to create a new library, but ..."

I don't know author's intention. Do you? :-)

My point was a warning about how bad idea is using platform-specific non-standard APIs. As exercise, of course it is fine, that is why I up-voted this history.


> I don't know author's intention. Do you? :-)

I do not know the author's intention; I am not certain. But I'm reasonably confident. And that's a reasonable warning, just a bit of a non-sequitur. Hence my confusion.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: