Giter Club home page Giter Club logo

jarlang's People

Contributors

nc-cl avatar osolodo avatar vereis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jarlang's Issues

Windows compatability

Currently, Jarlang is strictly only compatible with Unix-like systems due to certain things such as Erlpkg using bashism internally.

I'd wager there are a few things we're doing in Jarlang itself which are unix-only too, but I'm unsure about that.

We should look over our code and produce an alternative build method for compiling the project for Windows development natively, or at least make the build compatible with Cygwin.

Directly building on Windows is probably a better idea however, because there is no Cygwin build of Erlang for several very good reasons which are outlined here: http://erlang.org/doc/installation_guide/INSTALL-WIN32.html

I don't believe it would be too hard to do and would be a good thing to do eventually, especially before the project gets much larger.

Make async compilation an optional flag

Currently, Jarlang asynchronously compiles by default in two places:

  1. We spawn new async processes which transpile individual files passed into Jarlang
  2. Each of these async processes spawn N async processes handler the transpilation of each individual function in said file.

While this hasn't caused any issues in testing, for development, the error messages become much less readable if an error is thrown in a process other than the main process.

Also, I'd wager that blindly spawning so many processes wastes more resources than saves since some function transpilations will be completely trivial such that the time it takes to spawn the process is much larger - we need to benchmark this.

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.