[HN Gopher] Code specialization for the MIR lightweight JIT comp...
       ___________________________________________________________________
        
       Code specialization for the MIR lightweight JIT compiler
        
       Author : compilersfun
       Score  : 62 points
       Date   : 2022-02-16 13:35 UTC (9 hours ago)
        
 (HTM) web link (developers.redhat.com)
 (TXT) w3m dump (developers.redhat.com)
        
       | rightbyte wrote:
       | If I understand this correctly C is an IR for MIR Jit? It is a
       | kinda interesting approach.
        
         | sudosysgen wrote:
         | No, MIR is the IR, and the JIT is designed to run MIR. C code
         | can be compiled to MIR, but they want to make it so any
         | language can also be compiled to MIR.
        
           | rightbyte wrote:
           | Ah ok. Hopefully they stick to the plan on doing it "light
           | weight". The project seem like something that would be very
           | useful for alot of projects. However the talk about LLVM and
           | WASM makes me worried of scope creep.
        
           | jaytaylor wrote:
           | What's wrong with Haxe for a language trans-compilation
           | target for the MIR language?
           | 
           | Haxe is a pretty cool open-source project and has been going
           | for quite awhile now.
           | 
           | https://haxe.org/
        
       | nyanpasu64 wrote:
       | The page spams my browser's back button history when I scroll,
       | and displays a white screen for the first 2 seconds if I turn off
       | JS.
        
         | rightbyte wrote:
         | Ye it seem to be a very bad design choice to hijack the back
         | button each time you scroll by an anchor. A bad design choice
         | would be to do that when clicking in the table of contents.
        
           | fathyb wrote:
           | You convinced me to fix the TOC on projects I work on! I'll
           | use "history.replaceState()", so that the address bar gets
           | updated but the back button doesn't get hijacked.
        
             | rightbyte wrote:
             | Glad to be of service! =)
        
         | dang wrote:
         | " _Please don 't complain about tangential annoyances--things
         | like article or website formats, name collisions, or back-
         | button breakage. They're too common to be interesting._"
         | 
         | https://news.ycombinator.com/newsguidelines.html
         | 
         | The greater problem is that these comments tend to get upvoted
         | and then stick at the top of the thread, choking out more
         | interesting discussion--but it's harder to do anything about
         | that.
        
       | Shadonototra wrote:
       | interesting name from Red-Hat
       | 
       | https://mir-server.io/
        
       ___________________________________________________________________
       (page generated 2022-02-16 23:02 UTC)