3 ms·
Well, on one of the Dart threads, bashing its hello world size, this[1] came up: Compile "Hello world" into an executable, and see how many kilobytes it takes
by DanielRibeiro 15y ago
Well, on one of the Dart threads, bashing its hello world size, this[1] came up:
Compile "Hello world" into an executable, and see how many kilobytes it takes on most architectures, despite the object file being a few bytes.
This thread pretty much responds to that. It is no 17000 lines, nor 17000K, it is just 142 bytes (other comments suggest it is 62).
[1] http://news.ycombinator.com/item?id=3098660 http://news.ycombinator.com/item?id=3098660
- sambeau 15y agoIt makes more sense for VM byte-code as the bytes not only have to be loaded (probably by the page, again) but the bytes have to be run and possibly jitted, too.