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 8964527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:36:42+00:00 2026-06-15T16:36:42+00:00

Would it be possible to design a statically typed JIT’ed language to build a

  • 0

Would it be possible to design a statically typed JIT’ed language to build a web framework like Ruby on Rails, an attempt to gain the speed of a statically typed language?

Embedded Ruby (eRuby) in html is a feature of Ruby on Rails that I don’t see an obvious way to implement in a statically typed JIT’ed or compiled language.

I am not familiar with the internals of the implementation of Ruby on Rails, but more generally are there other features of Ruby on Rails that would be very difficult to implement in a statically typed JIT’ed or compiled language?

  • 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-15T16:36:44+00:00Added an answer on June 15, 2026 at 4:36 pm

    Sure. It wouldn’t necessarily achieve what you want (dynamic typing is just one of many things which make optimizations harder, the “fast” languages you know make many tradeoffs beside static typing to achieve that performance), but it’s perfectly possible. In fact, it’s being done. ASP.NET MVC has had the Razor view engine for quite a while now, which features a statically typed template language. The few restrictions compared to C#/VB.NET (e.g. I don’t think you can declare classes) are design decisions, not technical issues. Basically, all you need to do it parse the template, separate (e.g.) HTML from code, and generate code which outputs the strings that should be output according to the template.

    Now, Ruby on Rails specifically is heavily using the dynamic features of Ruby. While many “statically typed” languages do feature reflection which may achieve something similar (though much more verbose), and other metaprogramming constructs can be typed just fine, I doubt you could simply port RoR to a run of the mill statically typed language, especially if you want the end result to be anywhere as convenient. It’s probably better to create a new framework, inspired by existing ones. And that has already been done. A thousand times. Per language.

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

Sidebar

Related Questions

I would like to know if it would be possible to replicate the effect
How would it be possible to design an online-antivirus service. I was thinking about
i have a design issue, not complicated actually, but i would like to find
Would it be possible to leverage a design based on modular components running on
I am working on a rails web app, currently focusing on the mobile design
Basically I started to design my project to be like that: Play! Framework for
Possible duplicate: Database design: Calculating the Account Balance I work with a web app
I would like to have a design suggestion from you. I have a set
Would be possible to extend this kind of layout so that I can have
I was wonder if this would be possible and how to do it. I

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.