The discussion is about running Discourse on JRuby. headius from the JRuby project initiated the conversation, highlighting the potential benefits of a single Discourse process for a whole site, reduced memory and CPU usage.
Several C extensions are missing for JRuby support, but alternatives or trivial ports are available. headius listed the current stumbling blocks, including bootsnap, fast_blank, fast_xor, fast_xs, cppjieba_rb, libv8, nokogumbo, oj, pg, and rinku.
sam expressed interest in working with JRuby and headius provided an updated list of extensions with status. sam made some commits to replace or remove certain gems, leaving cppjieba, libv8/mini_racer, nokogumbo, oj, pg, and rinku as remaining obstacles.
kares suggested using dienashorner as an alternative to therubyrhino for JRuby support. mcwumbly asked about the motivation behind running Discourse on JRuby, with headius explaining that it could be a better choice for larger deployments, allowing a single instance to handle the entire server load.
Falco mentioned that the main use of V8 in Discourse is for markdown cooking, and headius started porting Rinku, finding a Java autolinking library as a potential solution. dfabulich recommended using Nokogumbo over Nokogiri for HTML parsing, citing its adherence to the HTML 5 parsing specification. sam expressed support for moving to Nokogumbo, but raised concerns about its experimental status and dependency on Nokogiri.