bytecode

Are there significant differences between Flash swf 8/9/10?

I know that there is a detailed specification available online, but I could only find one for version 10. Do you know if reading this specification will be useful for the other versions too, or do I need to actually learn 3 separate (or more) documents to fully understand the format? And is .swf really fully open source? I don't quite ...

Why do almost all OO languages compile to bytecode?

Of the object-oriented languages I know, pretty much all but C++ and Objective-C compile to bytecode running on some sort of virtual machine. Why have so many different languages settled on compiling to bytecode, as opposed to machine code? Is it possible in princible to have a high-level memory-managed OOP language that compiled to mach...

What is the closest you can get to true (resource constrained) isolates in the JVM today?

Posit the following situation: You have a large and complex system (distributed, concurrent, huge dataset) which supports many users. The code is sent to the data. You want to allow mobile code in the system - ie untrusted code that will run within the same JVMs as the rest of the system, to take advantage of the locality of the data,...

How to generate bytecode in Ruby 1.9?

How can I generate byetcode from Ruby 1.9?? My intent is to generate bytecode not the source code and ship it along with my application package. I am aware of the JRuby approach but I am facing certain issues there ...

How to emit and execute Java bytecode at runtime?

I am writing an interpreter in Java for a domain-specific language with some scripting capabilities. I have already implemented a parser and now need to do a back end. To this end I am considering either to write my own interpreter (either working with abstract syntax trees or with some custom bytecodes) or target JVM (emit and execute J...

Java Reverse Engineering Tutorial

I am interested in how the reverse-engineering on java bytecode is conducted. Can anyone recommend some useful tutorials for me? I have read some articles on this topic already: 1. The class File Format 2. Java bytecode These two articles gave a lot of information about bytecode. However, non of them actually talks about the way to rev...