WebAssembly is an actively used bytecode format created in 2015.

4Years Old 8,606Users 5Jobs

Example code from the web:

20 00
50
04 7E
42 01
05
20 00
20 00
42 01
7D
10 00
7E
0B

Example code from Linguist:

(module
  (import "env" "printInt" (func $printInt (param i32)))
  (func $add (param $lhs i32) (param $rhs i32) (result i32)
    get_local $lhs
    get_local $rhs
    i32.add
  )

  (func $main
    (call $printInt
      (call $add (i32.const 9) (i32.const 8))))

  (export "main" (func $main))
)

Example code from Wikipedia:

(module
  (import "math" "exp" (func $exp (param f64) (result f64)))
  (func (export "doubleExp") (param $0 f64) (result f64)
    (f64.mul
      (call $exp
        (get_local $0))
      (f64.const 2))))
Edit

Last updated February 11th, 2019