search for: rubinius

Displaying 20 results from an estimated 63 matches for "rubinius".

2008 Jun 01
3
rbx gem
Hello. Some time ago I committed a Rubinius assembly-based HTTP parser generated from Ragel to the Rubinius git repository. Yesterday I made a Mongrel gem which installs and works on Rubinius. This basically involved commenting out anything to do with fastthread or the http11 C extension. If there''s interest in releasing a Rubini...
2010 Jun 17
3
unicorn 1.0.0 - yes, this is a real project
...r users clinging onto the past, MRI 1.8.6 support has been restored. Users are strongly encouraged to upgrade to the latest 1.8.7, REE or 1.9.1. For users looking towards the future, the core test suite and the Rails 3 (beta) integration tests pass entirely under 1.9.2 preview3. As of the latest rubinius.git[1], Rubinius support is nearly complete as well. Under Rubinius, signals may corrupt responses as they''re being written to the socket, but that should be fixable transparently to us[4]. Support for the hardly used, hardly documented[2] embedded command-line switches in rackup config...
2009 Sep 15
0
HTTP parser C extension should be Rubinius-compatible
Hi all, I''ve just pushed out some changes to the C HTTP parser that should make it compatible with a recent Rubinius[1] using the C API. While I got the http_parser and http_parser_ng tests to pass with the new changes, most of the other tests that use pure Ruby actually failed(!). If anybody wants to pick up where I left off (even if it''s to properly report bugs to the Rubinius team), please do so. I...
2008 Apr 24
4
Pure Ruby HTTP parser
Before anything else, let me state this: Of course it''s going to be PAINFULLY slow on MRI. That''s not the point :) I thought I''d try out writing out a Ruby version of the parser for the purposes of Rubinius. For those of you who aren''t aware, Ragel supports a goto-driven FSM on Rubinius by injecting assembly directly, and Rubinus head honcho guy Evan Phoenix is working on a patch for Ragel to update it to the new compiler semantics. So really, there is a purpose for trying this out. Anyway...
2013 May 23
4
[LLVMdev] Usage of getenv() inside LLVM and thread safety
Hello, In Rubinius we're seeing an occasional crash inside LLVM that always happens inside getenv(), which is used for example when creating a MCContext (inside lib/MC/MCContext.cpp, it checks getenv("AS_SECURE_LOG_FILE")). The problem is that getenv() and friends aren't thread safe and Rubinius pr...
2007 Sep 23
16
WinRuby?
Hi all, With the latest 1.8.6 release out today, I was wondering - what would you all think of a Windows-only fork of Ruby? I mean Perl has ActiveState, right? It ships with a slightly different interpreter and different libraries, so why not Ruby? Here''s what I''m thinking: * Win2k or later. No 95/98/ME support. No cygwin/mingw, either. * Assume VC++ 8. Use whatever
2010 Oct 06
2
rspec2 observations
Just a few observations now that I have completed the upgrade from RSpec-1 to RSpec-2. 1. In my project (2800 examples across about 40 files), MRI 1.9.2-p0 takes roughly 3 times longer to complete the spec run. Runtimes grew from 2.2s (rspec 1.3.0) to 6.1s (2.0.0.rc). 2. Rubinius 1.1.0 runs RSpec-2 without error. 3. JRuby 1.5.1 runs RSpec-2 without error. 4. Both Rubinius and JRuby print a deprecation warning while running the exact same code as MRI 1.9.2-p0 (which doesn''t print this warning). ***************************************************************** DEP...
2013 Jul 22
1
Dependency upon raised error/exception messages.
...attered around Rails (and its tests) that depends upon error/exception messages, instead of some attributes on the errors/exceptions themselves. As Brian Shirai pointed out [2] error/exception messages are for human consumption. This is a problem for other Ruby implementations such as JRuby and Rubinius, which implement error messages with different wording. If needed, I''m available to work on this with coaching/mentoring from someone interested on the core team. Thanks, Federico [1] https://github.com/rails/rails/pull/11494 [2] https://github.com/rubinius/rubinius/issues/2404#issuecom...
2012 Mar 08
5
FXRuby 1.6.23 released
...= 1.6.23 / 2012-03-08 * Add YARD documentation support * Use generated Manifest.txt * Support for parallel task execution with drake === 1.6.22 / 2012-02-21 * Allow better access to raw pixel data of FXImage and derivatives * Build Windows binary gem per cross compiler on Linux * Add support for Rubinius (currently requires rubinius from git) * Add alias FXApp#modalWindow, as described in rdoc * Add quality parameter to FXJPGImage and FXJPGIcon * Fix invalid memory access in final GC call when using FXMenuCommand with acckey * Fix double referenced foxObj when borrowed object registration is trigge...
2012 Apr 12
3
[LLVMdev] check if llvm was built with REQUIRE_RTTI
Hi, the rubinius project needs llvm built with REQUIRE_RTTI to successfully compile. It can use the system ruby, if it fits, but how can I find out, if llvm was build that way? thank you, Gibheer
2013 May 23
0
[LLVMdev] Usage of getenv() inside LLVM and thread safety
...sume Ruby exposes setenv and therefore simply not calling setenv isn't an option. Would it solve your problems if all getenv() calls happened at cl::ParseCommandLineOptions() time? On Thu, May 23, 2013 at 9:49 AM, Dirkjan Bussink <d.bussink at gmail.com>wrote: > Hello, > > In Rubinius we're seeing an occasional crash inside LLVM that always > happens inside getenv(), which is used for example when creating a > MCContext (inside lib/MC/MCContext.cpp, it checks > getenv("AS_SECURE_LOG_FILE")). > > The problem is that getenv() and friends aren't thr...
2013 Mar 23
2
[LLVMdev] Memory clean for applications using LLVM for JIT compilation
...JIT request memory manager and one global JIT memory manager. The per request JIT memory manager gets memory from the global manager, but both ended up implementing (almost) the whole memory manager api, because I couldn't find another way to do it. Also see the code here: https://github.com/rubinius/rubinius/blob/master/vm/llvm/jit_memory_manager.hpp https://github.com/rubinius/rubinius/blob/master/vm/llvm/jit_memory_manager.cpp If there are better ways to clean up the code, that would be great, but having to things like that is what made me state feeling dirty on how it was implemented. --...
2013 Mar 23
0
[LLVMdev] Memory clean for applications using LLVM for JIT compilation
...JIT request memory manager and one global JIT memory manager. The per request JIT memory manager gets memory from the global manager, but both ended up implementing (almost) the whole memory manager api, because I couldn't find another way to do it. Also see the code here: https://github.com/rubinius/rubinius/blob/master/vm/llvm/jit_memory_manager.hpp https://github.com/rubinius/rubinius/blob/master/vm/llvm/jit_memory_manager.cpp If there are better ways to clean up the code, that would be great, but having to things like that is what made me state feeling dirty on how it was implemented. --...
2013 Jan 14
3
[LLVMdev] Memory clean for applications using LLVM for JIT compilation
Hello all, I've already bothered people on IRC with this question and it was recommended to ask it here. First of all, some context. In Rubinius (http://rubini.us/, http://github.com/rubinius/rubinius) we use LLVM for our JIT. We create LLVM IR using the C++ API and turn that into machine code using ExecutionEngine::runJITOnFunction. The resulting native code is then installed as the executor for a method. Right now we use a single LLVMCon...
2007 Nov 09
2
RubyConf 2007 - Thoughts?
Hi, For those of you that attended RubyConf 2007, what were your impressions? Any more thoughts on JRuby, Rubinius, IronRuby or Wuby? Regards, Dan
2012 Apr 13
0
[LLVMdev] check if llvm was built with REQUIRE_RTTI
On 12 Apr 2012, at 10:34, Gibheer wrote: > Hi, > > the rubinius project needs llvm built with REQUIRE_RTTI to > successfully compile. It can use the system ruby, if it fits, but how > can I find out, if llvm was build that way? > > thank you, > > Gibheer You could run llvm-config --cxxflags to get the C++ compiler flags to use for files tha...
2013 May 23
0
[LLVMdev] Usage of getenv() inside LLVM and thread safety
...objects. I would suggest filing a bug for this. A simple lock probably wouldn't be too detrimental to performance here, since MCContext objects shouldn't be created too often. On Thu, May 23, 2013 at 9:49 AM, Dirkjan Bussink <d.bussink at gmail.com>wrote: > Hello, > > In Rubinius we're seeing an occasional crash inside LLVM that always > happens inside getenv(), which is used for example when creating a > MCContext (inside lib/MC/MCContext.cpp, it checks > getenv("AS_SECURE_LOG_FILE")). > > The problem is that getenv() and friends aren't thr...
2013 Jan 14
0
[LLVMdev] Memory clean for applications using LLVM for JIT compilation
On Mon, Jan 14, 2013 at 4:56 AM, Dirkjan Bussink <d.bussink at gmail.com>wrote: > Hello all, > > I've already bothered people on IRC with this question and it was > recommended to ask it here. > > First of all, some context. In Rubinius (http://rubini.us/, > http://github.com/rubinius/rubinius) we use LLVM for our JIT. We create > LLVM IR using the C++ API and turn that into machine code using > ExecutionEngine::runJITOnFunction. The resulting native code is then > installed as the executor for a method. > > Righ...
2008 Jan 03
23
deployment survey
...g distribution or version (OS X 10.4.10, Ubuntu/Linux 7.10, WinXP SP2, OpenBSD 4.1...) * Architecture, via ''uname -a'' preferably (x86, x86_64, Sparc, PPC, Arm (ha), JRuby) * CPU count * Ruby version including custom distribution patches, (1.8.6p110+threadhooks, 1.8.5, JRuby 1.1b1, Rubinius trunk... also note where you got it, in case it isn''t clear, for example, OS X 10.5 built-in, Ubuntu apt, Instant Rails, direct compile from source) * Rubygems (yes/no, version) Please mention anything else about your system that''s kind of weird, and anything that''s been...
2009 Oct 09
0
[LLVMdev] Is ExecutionEngine always meant to be a singleton?
...r to process llvm code. > This would, among other things, allow "lli" to execute bitcode that > itself uses the ExecutionEngine. I think you're doing something a bit fishy here. I'm not sure how you're generating code, but you may want to look at Unladen Swallow or Rubinius or the Kaleidoscope tutorial for how ExecutionEngine is generally used for jitting, and jitting in general. -eric