Live data from Hacker News

Practical Scheme

practical-scheme.net

31–40 of 58 posts

Re: Practical Scheme

#31
post #27
post #24

Earlier quoted context omitted.

The English term for "makets" is "models".

Model is so overused in software and computer science that it has a dozen meanings that would come to mind before the meaning of maket does. By comparison maket is a word with an obvious and single meaning you can find in most dictionaries, or a Google search. I should probably spell it maquette since a plethora of useless letters is the sine qua non of intellectual sophistication.

Yes, most Turkish and Indonesian dictionaries, because Turkish and Indonesian have sane spelling. But English doesn't. Other alternatives in this context include "miniature", "spike", "diorama", and "prototype", which have the potential advantage that native English speakers might understand you. Or disadvantage, I suppose.

Hwail ai kenker wiq yer kr1tes1zm ev i6g1c orxogrefi, w1tc servz lardjli ez e wei te s1gnel socel kl4s bai wei ev i1rz weisted m3meraizi6 iuslesli 1r3giuler sp3li6z, iu k4nt boil q4t ocen 1n 3vri kament. Bet iu mei bi 1nter3sted 1n http://canonical.org/~kragen/alphanumerenglish. 1t simz laik qe kaind ev xi6 m3ni skimerz w5d laik, r1li.

Re: Practical Scheme

#33
post #24
post #21

Earlier quoted context omitted.

It is hard to find people that can support it in production. But for building makets of production systems to see where they are likely to fall over I've never found a better language. The fact that you have to build everything from scratch is a plus when dealing with the eldrich horrors that lurk in business logic - you think you can use a standard queue? Hahaha let me tell you about a 6pm spike in latency that no o…

The English term for "makets" is "models".

Mock-up?

Re: Practical Scheme

#34
post #24

Earlier quoted context omitted.

The English term for "makets" is "models".

Mock-up?

Typically "mock-up", like "wireframe", refers to a model of the user interface appearance, perhaps made with Figma or Photoshop, but I think noosphr is talking about a prototype of the functionality.

Re: Practical Scheme

#35
post #28

What scheme do I used if I want to compile to a standalone executable on both Linux and windows? (That’s not Racket)

I've always liked bigloo. It's probably the most pragmatic of the schemes in my opinion. It never gets the attention that chicken and gambit get, though, and I've always wondered why.

Oh, right, I forgot about that one. As I remember, it's a good recommendation.

I'm guessing it doesn't get much chatter due to INRIA being not very good at promotion of the stuff they do, and Bigloo doesn't have the academia-industry-matrimonial push that e.g. Pharo has received.

Re: Practical Scheme

#36
post #14

My funny Scheme story. My work place was using it in production, 1999. A ton of code was written by a VERY SMART (and famous) person and of course it worked. He delivered it under pressure, ahead of schedule and it just worked. Ok, but my frustration was that we could not find anyone to support the decoders. So, I could have 300 resumes, and zero would reference scheme. So, there I was one Sunday, a church greeter, g…

Obviously that was divine intervention. Atheists in 1999 might have to go Usenet comp.lang.scheme to find Scheme experts. (Scheme polo shirt at church in 1999? My first guess is around Rice University. Second guess is Indiana.)

Yale possibly. https://paulgraham.com/thist.html

And of course MIT. https://archivesspace.mit.edu/repositories/2/archival_object...

Re: Practical Scheme

#37

My funny Scheme story. My work place was using it in production, 1999. A ton of code was written by a VERY SMART (and famous) person and of course it worked. He delivered it under pressure, ahead of schedule and it just worked. Ok, but my frustration was that we could not find anyone to support the decoders. So, I could have 300 resumes, and zero would reference scheme. So, there I was one Sunday, a church greeter, g…

Did you hire them?

Re: Practical Scheme

#38

My funny Scheme story. My work place was using it in production, 1999. A ton of code was written by a VERY SMART (and famous) person and of course it worked. He delivered it under pressure, ahead of schedule and it just worked. Ok, but my frustration was that we could not find anyone to support the decoders. So, I could have 300 resumes, and zero would reference scheme. So, there I was one Sunday, a church greeter, g…

Did you hire them?

The person that showed up at church was hired as a contractor (different group) and he showed up on Monday.

Re: Practical Scheme

#39
post #26
post #4

Earlier quoted context omitted.

https://github.com/cisco/ChezScheme

I have not been able to get usable executables out of Chez, even on Linux, although it's nice and fast when used the normal way.

The best way I've found to make a standalone executable is to compile my scheme program into a .boot file and embed it, along with Chez's .boot files, into a small C program that then calls the scheme program.

All of the necessary functions to create such a C program documented here: https://cisco.github.io/ChezScheme/csug10.0/foreign.html#./f...

The relevant functions for this applictation are:

Sscheme_init

Sregister_boot_file_bytes

Sbuild_heap

Senable_expeditor (if you want to use Chez's builtin REPL)

Sscheme_start

Sscheme_deinit

I'd post an example program, but I've not got access to my development machine at the moment.

Re: Practical Scheme

#40
post #15

What scheme do I used if I want to compile to a standalone executable on both Linux and windows? (That’s not Racket)

Others have already pointed out several good options. Let me add one more: Gambit Scheme https://gambitscheme.org/

Gerbil gives you a lot of the niceties of Go and Racket on top of Gambit, I highly recommend it: https://cons.io
Post reply on HN