Giter Club home page Giter Club logo

Comments (4)

LiberalArtist avatar LiberalArtist commented on June 20, 2024 2

I think the part you're missing is probably raco distribute: Sharing Stand-Alone Executables. In particular, this advice may be relevant:

The number of needed support files depends in part on the way that executables for a distribution are created. Supplying --embed-dlls or --orig-exe to raco exe reduces the need for support files, but at the expense of making the distribution larger if it contains multiple executables.

from rhombus-prototype.

Lazerbeak12345 avatar Lazerbeak12345 commented on June 20, 2024

Interesting thoughts about Chez Scheme and compiled binaries: https://stackoverflow.com/questions/48061220/can-chez-scheme-produce-compiled-binaries

from rhombus-prototype.

Lazerbeak12345 avatar Lazerbeak12345 commented on June 20, 2024

Linked in that article is this tool: https://github.com/gwatt/chez-exe

from rhombus-prototype.

spdegabrielle avatar spdegabrielle commented on June 20, 2024

Hi @Lazerbeak12345
Racket uses the same incremental native-code compiler as Chez Scheme. The ‘CS’ compiler has been the default compiler since version 8.0. (8.3 was just released )

In interactive mode, this compilation occurs automatically and on-the-fly. Tools like raco make and raco setup marshal compiled bytecode to a file, so that you do not have to compile from source every time that you run a program. See Compilation and Configuration: raco for more information on generating bytecode files.

For the CS implementation of Racket, the main bytecode format is non-portable machine code.

Racket Reference, 19 19 Performance: 19.3 Bytecode, Machine Code, and Just-in-Time (JIT) Compilers

There is a small sample with instructions to create a stand-alone executable at https://github.com/racket-templates/cli-command

I hope this helps
Best wishes
Stephen

from rhombus-prototype.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.