News for hackers. Stuff that matters.
Re:Chez Scheme as the Racket VM by aseipp on Thursday February 16, 2017 @04:35AM (#13658685)
There's a pull request that can effectively fix this, by finally exposing the Chez Scheme C library. Then you can finally write custom boot kernels. I pinged on it recently but nobody updated. I might try resubmitting it.

I actually have a full demonstration of using Chez to build a full "Unix application" that works 'just as you would expect'. Comes with complete Chez support: profile-guided rebuilds, coverage support, C extensions, some basic test stuff, a custom C boot kernel, and utility for portable .tar.gz builds. It even correctly copies out the boot files for a reidstributable build.

I could have extended this to "unpack the boot file out of my own elf executable" for a truly reusable binary but that seemed overkill. Also, if you keep the boot files, it then becomes possible to still drop into a Chez prompt and load your boot file from there for early debugging, which can be convenient and I didn't want to spend more time on that.

But, uhhhh, you're right if you want a one off binary, Chicken or something is way better. I spent like a week working on that skeleton so I could start working on my application itself. And my Makefile to support all this is extremely intense. But it works pretty well now and is very reusable and generic.

I'll get around to releasing it now I suppose!

Re:Chez Scheme as the Racket VM by codemac on Saturday February 18, 2017 @02:45PM (#13676335)
Please let me know if you do get around to releasing it!

I think scheme is woefully underrated as something that can be used for "real work", especially with something like chez. You can find my email or other contact info through my bio, I'm dead serious!

Re:Chez Scheme as the Racket VM by sitkack on Thursday February 16, 2017 @10:33AM (#13660643)
I have had ok luck with using Gambit for standalone executables
Re:Chez Scheme as the Racket VM by throwaway7645 on Friday February 17, 2017 @01:40AM (#13666397)
How big is "hello world"
Re:Chez Scheme as the Racket VM by shakna on Friday February 17, 2017 @05:39AM (#13667321)

    (display "Hello, World!~n") 
Comes on at 400kb for me under Gambit.

Gambit makes fast, small binaries. Unfortunately you pay for that with a lack of libraries.

Re:Chez Scheme as the Racket VM by throwaway7645 on Friday February 17, 2017 @06:43AM (#13667539)
Now that is pretty nice. Something like that should always be in the kb range I think (preferred anyway).