Re: [dev] Suckless remote shell?
* Louis Santillan <lpsantil_AT_gmail.com> [2013-11-04 23:19:21 -0800]:
> I wasn't suggesting anybody use newlib. Rather, I was suggesting that
> all the interface a C, or Go, or Java, or ASM program ever needs
> between it and the "POSIX" OS is contained in 17 syscalls. That's
> about as minimal, or suckless as you can get. The fact that the
> newlib folks identified that fact is inconsequential.
newlib can be useful for baremetal or other embedded work
but you don't get far with 17 syscalls on unix, pretending
you do is just delusional
(with the listed syscalls you cannot even select for events,
or implement bsd socket api or any other networking stack
even if you try to export every os interface to the filesystem
like plan9 does you still don't have mount, you don't have
large file support, no hi res timer, no interrupt handling,
no clone or thread support etc)
i recommend you to strace a java hello world to see how many
syscalls java need.. (don't forget to use -f, it will create
threads)
Received on Tue Nov 05 2013 - 15:43:53 CET
This archive was generated by hypermail 2.3.0
: Tue Nov 05 2013 - 15:48:06 CET