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

  • Home
  • SEARCH
  • 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 6364243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:08:21+00:00 2026-05-25T00:08:21+00:00

I was recently amazed to see Java code being automatically recompiled and injected into

  • 0

I was recently amazed to see Java code being automatically recompiled and injected into a running program. Since modern C++ compilers (eg. LLVM-based) start investigating JIT compilation, I am wondering if there is any work made on this topic.

Update: By “hot recompilation”, I mean editing the code, recompiling a specific part of the executable and running it without restarting the program. The common use case would be a game engine with an infinite loop where you would edit some code in the rendering step, and see the changes on the next frame.

What is the research state of hot recompilation for C++? Is there any working implementation?

  • 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-05-25T00:08:22+00:00Added an answer on May 25, 2026 at 12:08 am

    It’s possible that by “hot recompilation” you mean something like “Edit and continue” in Visual C++.

    Maybe that link constitutes an answer to your question.

    But it would be easier if you would define the term you’re asking about, “hot recompilation”, more clearly (as I’m writing this it’s not well defined).

    added:
    “Edit and continue” for C++ was apparently introduced with Visual C++ 6.0, in the 1990’s. So it’s only slightly amazing that some Java implementation can do it now. <g> However, the /Zi switch that enables edit-and-continue does also, as I recall, change the behavior of __LINE__ so that e.g. the original ScopeGuard implementation doesn’t work (one then has to use Microsoft-specific __COUNTER__).

    Cheers & hth.,

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

Sidebar

Related Questions

Recently I ran into this error in my web application: java.lang.OutOfMemoryError: PermGen space It's
recently I'm writing some functions that I take from Haskell and translate into Java.
I've been looking into Ioc containers and AOP recently, and I'm pretty amazed by
Recently a friend and I were talking about securing stored procedure code in a
Recently and without any website code changes, a few of our dynamic PHP pages
Recently, i began developing a driver of an embedded device running linux. Until now
Recently, I ran into a problem with my application: the size of the JSON
Recently I found some simple source code of a bootloader.The following is the simple
I have only recently started web programming and I am pretty much amazed that
Recently I have been writing parameterized queries like this: SQL = INSERT INTO myTable

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.