jslm32

Languages and libraries

emulator

SHOW HN2012

65points
15comments
#361of 1,677 in 2012
Top 22%of 2012 by points

How HN took it

CuriousMostly questions and neutral comments

1 positive, 4 neutral or asking, 0 mixed, 1 critical, out of 6 comments about the project. Thread score -0.13.

Performance: 1 for, 0 againstExecution: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Readable, clean code

    From 1 comment
    • Thanks for this, it's a great piece of work and very easy to read. Nice code. > "it looks like it is a statistical profiler. When the usual invocation takes less than 1ms, it…
      jbert on HN
  • Interesting technical approach to dynamic recompilation

    From 2 comments
    • You mentioned in the 'Worst Linux PC' thread that your implementation generates JS code on the fly and 'captures up to three backwards jumps'. Do you mind explaining in more…
      int3 on HN
    • Thanks for the explanation! It makes sense. I was just wondering though -- why is it necessary for generate_block / decode_instruction to be called on the fly, instead of as a…
      int3 on HN

Objections

  • Does not run well in browsers other than Chrome

    From 1 comment
    • Since there seems to be some interest on the subject, and I don't want to kidnap the great thread about the worst Linux PC ever [1], I decided to submit on a separate thread.…
      reginaldo on HN
  • Terminal input did not work for a user

    From 1 comment
    • Hey reginaldo, for some reason I cannot enter any text on the terminal, hence, I cannot login. I'm using Chrome 18 on OS X Lion. Just in case, I tried downloading the code and…
      rdg on HN
  • Performance concerns with the interpreter approach

    From 1 comment
    • Thanks for this, it's a great piece of work and very easy to read. Nice code. > "it looks like it is a statistical profiler. When the usual invocation takes less than 1ms, it…
      jbert on HN

Requests

  • Write-up of how boot time was optimised

    From 1 comment
    • Very nice. Is there any chance of a follow up on your comment in the previous thread: "I'll write a post describing what I did to take boot time from 2.5 minutes to 10 seconds."…
      jbert on HN
  • Explanation of the JIT block generation

    From 1 comment
    • You mentioned in the 'Worst Linux PC' thread that your implementation generates JS code on the fly and 'captures up to three backwards jumps'. Do you mind explaining in more…
      int3 on HN

Questions

  • Why generate code on the fly instead of static recompilation

    From 1 comment
    • Thanks for the explanation! It makes sense. I was just wondering though -- why is it necessary for generate_block / decode_instruction to be called on the fly, instead of as a…
      int3 on HN
  • How profiler results differ between Chrome and Firebug

    From 1 comment
    • Thanks for this, it's a great piece of work and very easy to read. Nice code. > "it looks like it is a statistical profiler. When the usual invocation takes less than 1ms, it…
      jbert on HN

Alternatives named

  • Fabrice Bellard's JSLinux

    From 1 comment
    • Since there seems to be some interest on the subject, and I don't want to kidnap the great thread about the worst Linux PC ever [1], I decided to submit on a separate thread.…
      reginaldo on HN
  • Emscripten

    From 1 comment
    • What you're looking for is called static recompilation. It's what Emscripten [1] does, it statically recompiles LLVM bitcode to javascript. Emscripten is a wonderful project, by…
      reginaldo on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/3769498)