Giter VIP home page Giter VIP logo

Comments (5)

MichaReiser avatar MichaReiser commented on May 30, 2024

Good Morning

I'm glad that you're interested in the project. I feared that the file names would not work on windows, but I still hoped they would. But I'm now going to change them (I hope I catch all of them).

You must know that the project is very pre-alpha and I never tested it on windows (that's also the reason why there is no readme). But if your interested and do not shy from the complications you might face then I'm willing to help you where ever I can.

First of all, you need a custom build of LLVM. If you are lucky, then the install scripts in the preinstall step just work (but you need a C++ compiler). However, I might suggest that you build llvm on your own (there is also a GitHub repo where you can get the source). You can then set the path to your LLVM installation as environment variable before installation that will then be picked up (out of some reason, two variables have to be set)

export LLVM=/usr/bin
export GYP_DEFINES="LLVM_CONFIG=/usr/bin/llvm-config-5.0"

Are you the author of turboscript? You released your projects just weeks after I had more or less the same Ideas as you had. Either I lack the time. But my main goal is to link this project in a next step with parallel-es to bring simply to use parallelization with true shared memory to JavaScript. Maybe we can share some insights and ideas?

from speedy.js.

nidin avatar nidin commented on May 30, 2024

Good morning,
I am also working towards the same goals compile TypeScript to WASM and easy parallel programming in JavaScript.

I am building it in Mac, let's see.

Yes, I am the author of turboscript. My implementation not yet using LLVM backend. I am thinking about emitting IR then feed it to LLVM to optimize. I am open to any discussions. first let me goes through the source code then compile and run some sample codes. I will definitely come back to you to share my findings. As the goal is same we could also work together to solve common problems.

from speedy.js.

MichaReiser avatar MichaReiser commented on May 30, 2024

The llvm backend has the benefit, that the optimizer does great work and emitting IR code isn't that hard. However, it is a quite big dependency. I have seen that the WASM team also has an optimizer now. Maybe this one would be sufficient for your use case?

I would be particularly interested in doing so after my master thesis. I have to do the master thesis on my own ;)

from speedy.js.

nidin avatar nidin commented on May 30, 2024

Yes LLVM backend is quite heavy. It may slow down the development but I have planned to implement LLVM IR emitter in the feature. for now baseline compiler is enough.

I will keep an eye on your master thesis. 👀 :)

from speedy.js.

nidin avatar nidin commented on May 30, 2024

Between I failed to bootstrap in windows and mac. I will try it on Ubuntu once I extend the disk space, llvm eat all available space on my VM.

from speedy.js.

Related Issues (9)

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.