Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the project active? #12

Open
fylux opened this issue May 7, 2019 · 10 comments
Open

Is the project active? #12

fylux opened this issue May 7, 2019 · 10 comments

Comments

@fylux
Copy link

fylux commented May 7, 2019

Is this project still active?

@emlai
Copy link
Owner

emlai commented May 9, 2019

No. I don't currently have time to work on this.

There are some similar projects which seem to be more active:

  • AssemblyScript – "TypeScript to WebAssembly compiler"
  • StaticScript – "TypeScript compiler on top of TypeScript as frontend and LLVM as backend"

@Technotechbloggie9
Copy link

I'm not guaranteed to work on this, but I thought of looking it over at the very least. I was definitely interested in creating or working on an LLVM-IR, even though I'm super-busy right now. A good ahead of time for a standard language like this would mean incredible things for backend development, as I see it.

@elliott-wen
Copy link

elliott-wen commented Jun 29, 2021

I am keen on working on this. But I intend
to make it work on microcontrollers.

@Technotechbloggie9
Copy link

Technotechbloggie9 commented Jun 30, 2021 via email

@BaseMax
Copy link

BaseMax commented Aug 28, 2021

Why stopped, it's really nice and cool project. I hope you find some time to keep this project up to date.

Best wishes. @emlai

@elliott-wen
Copy link

elliott-wen commented Aug 28, 2021 via email

@emlai
Copy link
Owner

emlai commented Aug 30, 2021

Here's the more elaborated reason why I stopped working on this:

Most TypeScript projects want to use NPM libraries written in JavaScript or non-strict TypeScript. I think making those libraries interoperate with the LLVM-compiled TypeScript is a huge amount of work. Compiling just the statically-typed subset of TypeScript to LLVM is already a lot of work by itself.

Compiling those JS or non-strict-TS libraries into LLVM is probably not worth it, because they will probably run faster on an optimizing JS engine designed to run that kind of code, such as V8. Instead calling them via Node Addons or WebAssembly could make more sense, if possible.

There is a very small subset of projects that avoid these problems entirely: projects that don't use NPM libraries and are written in strictly typed subset of TypeScript. But I think there are many existing languages better suited for those kinds of projects.

So in conclusion, there's a lot of uncertain hard work to be done with this project, and it's not clear if the benefits are worth it. At least to me.

So that's why I stopped working on ts-llvm. Instead I'm focused (when I have time) on creating a new language that's specifically designed to be very statically typed and optimizable, but with some of the high-level type-system features and ease-of-use that make TypeScript so great, such as compile-time null-safety. If you're interested, the project is on my GitHub profile.

If someone wants to continue the work on ts-llvm, the roadmap is outlined in issues #6 and #7.

@Technotechbloggie9
Copy link

Technotechbloggie9 commented Aug 31, 2021 via email

@MaxGraey
Copy link

MaxGraey commented Sep 1, 2021

@Technotechbloggie9 did you see wasm3 and WAMR projects?

@ODuzhar
Copy link

ODuzhar commented Sep 29, 2021

As this project is not active, Can I notify ppl about my project which is similar to this one. I have very good progress already. https://github.com/ASDAlexander77/TypeScriptCompiler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants