Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Unsafe Ruby Code #70

Open
mgaudet opened this issue Jan 24, 2017 · 1 comment
Open

Unsafe Ruby Code #70

mgaudet opened this issue Jan 24, 2017 · 1 comment

Comments

@mgaudet
Copy link

mgaudet commented Jan 24, 2017

What I'd love is to be able to write ruby implementations of core ruby methods, that can be used to replace C calls for the purposes of inlining.

One way would be to provide an 'unsafe' module similar to sun.misc.unsafe in Java, in order to allow the JIT compiler to generate high quality code for these functions.

Fiddle may provide a good base for this.

@mgaudet mgaudet changed the title Can Fiddle be used to provide similar functionality to sun.misc.unsafe? Unsafe Ruby Code Jan 24, 2017
@mgaudet
Copy link
Author

mgaudet commented Apr 13, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant