Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
$ bin/jruby -X+T bin/irb
irb(main):001:0> Truffle::CExt.inline %s{
irb(main):002:0: #include <unistd.h>
irb(main):003:0: #include <stdio.h>
irb(main):004:0: }, %s{
irb(main):005:0: printf("Hello, World! I'm %d\n", getpid());
irb(main):006:0: }
Hello, World! I'm 36641
=> true
irb(main):002:0> exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment