Code-Generation On-The-FlyMichael Franz
Code-Generation On-The-Fly
9mentions
1recommended by
5HN commenters
2008–2023first – last mentioned
20% recommend80% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.
…only conceived but also programmed the entire system described in this book, and more." Also, if you think that JVMs and JIT'ing compilers are cool, take a look at Michael Franz's PhD thesis at ETHZ: "Code-Generation On-the-Fly A technique for representing programs abstractly and independently of the eventual target architecture is presented that yields a file representation twice as compact as machine code for a CISC processor.…
on “The Bozo Event Horizon” ↗Michael Franz, the PI for the work at UCI, has been working on this stuff for almost 20 years. See his 1994 PHD thesis: Code-Generation On-the-Fly ftp://ftp.inf.ethz.ch/pub/publications/diss/th10497.ps [postscript]. Reading it was one of my "Holy Shit!" moments.
on “John Resig on TraceMonkey” ↗…of that dictionary element. The compression/decompression and serialization/code-generation are one and the same, and avoiding a separate layer is a key reason why it achieved the speed it did. [1] Code-Generation On-the-Fly: A Key to Portable Software, M. Franz (1994): https://oberoncore.ru/_media/library/franz_m.code-generation... [2] Single-pass generation of static single-assignment form for structured languages, M.…
on “Oberon-2, a hi-performance alternative to C++ (1997)” ↗I'm ambivalent. It summarises text on papers that are simple enough, but interestingly it fails in ways that suggests it sometimes fails because it isn't "smart enough." E.g. I asked it about "Code Generation on the Fly: A Key to Portable Software", the doctoral dissertation of Professor Michel Franz, and a paper I know very well, and it spit back a description of the process that was perhaps superficially correct but…
on “Oceania Always at War with Eastasia: Generative AI and Knowledge Pollution” ↗…say it doesn’t know Here is a direct pair of quotes from a recent conversation with GPT4: > Me: Answer in a single sentence, please. Do you, or do you not know the contents of Dr. Franz 1994 paper "Code Generation on the Fly: A key to portable software"? > ChatGPT: No, I do not know the contents of Dr. Franz's 1994 paper "Code Generation on the Fly: A Key to Portable Software." Is it prone to being evasive and waffling…
on “LLMs by Hallucination Rate” ↗Their "binary stencils" reminds me of Michael Franz' "Code Generation on the Fly: A Key to Portable Software". Franz generated the templates at runtime by caching parameterized code fragments from doing code gen on a version of the AST effective encoded in an lzw like way, so that…
on “A copy-and-patch JIT compiler for CPython” ↗…intermediate program representation " is basically the definition of Java byte code. Wikipedia search of the author seems to say he came up with it first, though: " His doctoral dissertation, entitled "Code Generation On-The-Fly: A Key To Portable Software"[11] proposed to make software portable among different target computer architectures by way of using on-the-fly compilation from a compressed intermediate data structure at…
on “Slim Binaries (1997)” ↗…during the translation of a source program to SDE form, and reconstructed before (or during) the decoding process. This method bears some resemblance to commonly used data compression schemes.» See also "Code-Generation On-the-Fly: A Key to Portable Software" https://pdfs.semanticscholar.org/6acf/85e7e8eab7c9089ca1ff24... This same technique also was used by JUICE, a short-lived browser plugin for running software written in…
on “Towards a JavaScript Binary AST” ↗The name of the paper is "Code-Generation On-the-Fly: A Key to Portable Software" just search for it.
on “Ahead-of-Time Compilation” ↗