Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.

Support JS (TypeScript) #28

Open
lt72 opened this issue Oct 3, 2015 · 1 comment
Open

Support JS (TypeScript) #28

lt72 opened this issue Oct 3, 2015 · 1 comment
Assignees
Milestone

Comments

@lt72
Copy link
Contributor

lt72 commented Oct 3, 2015

How about supporting JS (TypeScript) assemblies AOT compilation for LLILUM devices?

@lt72 lt72 added the discussion label Oct 3, 2015
@lt72 lt72 self-assigned this Oct 3, 2015
@lt72 lt72 modified the milestones: v1.0 RTW, Basics Oct 3, 2015
@cpfister
Copy link
Member

cpfister commented Oct 4, 2015

JavaScript is of course sexy for embedded systems as it is the only language supported everywhere else, in particular the browser.

Even is you accept that JavaScript has "good parts", it is not well suited to small, resource-constrained embedded systems though. Because it is so dynamic, it is difficult to make sure that there is always enough RAM, let alone to guarantee deterministic timing for real-time code.

So if it must be JavaScript anyway, then I'd at least go for TypeScript, which allows to better optimize at least some of the code.

As for me, I'd rather invest in languages that I feel are better suited and would involve fewer compromises for small systems.

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

No branches or pull requests

2 participants