Discourse on Truffleruby

Has anyone tried having Discourse on the truffleruby?
Does it make sense to look in this direction?

2 Likes

Interesting. Why did they decide to fork not contribute I wonder?

2 Likes

@merefield Truffleruby is an implementation of Ruby for GraalVM by Oracle guys. Good performance and interoperability with other languages on GraalVM.
It’s not a fork.

I have some experience with Rails on Truffleruby and want to check Discourse next week.

Some additional information - Running Rack and Rails Faster with TruffleRuby - Speaker Deck

1 Like

Sounds fascinating. Would you expect to be able to run the existing Discourse codebase without significant changes? What kind of changes might be needed?

Short answer: No, it currently doesn’t work on TruffleRuby.

5 Likes

@gerhard Thanks for the link, It will be easier for me to understand existing issues.

1 Like

The current blocker is mini_racer, see https://github.com/oracle/truffleruby/issues/1827

That said, at least all gems install on TruffleRuby, we test that in CI (for some slightly older Discourse).

4 Likes

This issue was fixed 5 days ago.

1 Like