Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8381289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:39:55+00:00 2026-06-09T16:39:55+00:00

What changes would have to be made to JavaScript to make it compilable. I

  • 0

What changes would have to be made to JavaScript to make it compilable. I don’t mean to make into executable that still relies on interpreter – I mean so that it compiles into binary in the way that C compiles.

I expect the prototypal inheritance might be an issue – but I don’t know.

Also, I am pretty sure that eval would not be possible (or desired).

Is there anything out there that is trying to do something like this?

Is it technically achievable?

Could JavaScript (with some small modifications) be used as to create efficient programs?


EDIT

I am specifically looking for something like what RPython is to Python – but for javascript.

It also appears that dynamic typing would be difficult/impossible for a compiled language as I want.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T16:39:57+00:00Added an answer on June 9, 2026 at 4:39 pm

    I don’t think there’s any issue with the prototypal inheritance. Indeed, eval might not work unless there was some sort of JS-VM that would compile it on the fly.

    As for what it would need to be actually useful, I would rate the ability to call functions from C/C++ libraries as most important. Without that, you wouldn’t be able to do anything useful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have seen the oddest behavior from JavaScript and would love some insight into
I would like to have a QMainWindow that can change it's look at runtime,
I would like to have that the height of a canvas change automatically. When
We have written a data store / grid widget system in JavaScript that automatically
I have three tabs, made up of images that change when you rollover them.
I have a script that I want to be injected into the document BEFORE
I have a menu on the left of my page that is made of
I have made a wordpress plugin that can fetch an unknown number of Google
I have a webpage made of a lot of PHP and Jquery/javascript I have
I have a javascript array that I am using as a data source in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.