Displaying 20 results from an estimated 10000 matches similar to: "ruby bindings has two gems (I think)"
2009 Aug 07
7
Comments for Daniel Berger blog post
Hey Daniel,
I''m trying to leave you a comment on this article you wrote:
http://djberg96.livejournal.com/168403.html
But since you disabled OpenID and anonyous, I''m not fond to register
for another account just to reply your comments.
Quoting your post:
""
Unfortunately, I''ve slammed into the cold hard fact that FFI just
isn''t the grand solution
2011 Mar 31
1
ESX networking functions
Greeetings,
Using the latest git snapshot I noticed that none of the networking
functions are implemented in the ESX driver. No listing networks, no adding
networks, etc. This functionality seems to be fully implemented for most of
the other drivers and I don't see it on the "todo" wiki. Does anyone have an
idea if/when this might get implemented? Would others be interested if I
were
2019 Jun 05
2
The way of implementing structs of Rust bindings
Hi, I'm now implementing generators of Rust, and I faced a problem.
In order for the wrapper to 'understand' the struct passed from C API, it
is required to incorporate the definition of the struct in C into Rust
code.
I have two approaches.
1. Create raw struct(#[repr(C)]), which has the equivalent memory mapping
to C struct and access through this struct in Rust
2. Use bindgen to
2012 Apr 07
5
FFI and msvcrt
Hi,
I''ve been using FFI with a Ruby 1.9.3 built with MSVC++ and it''s been
working well. One thing I''ve run into though is this:
ffi_lib :msvcrt
But that''s not the runtime I want. But I don''t want to hard code the
runtime name either. I realize I could parse it out of RbConfig, but I
was hoping for something nicer.
Is there a way we could create an
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
2009 Sep 17
1
Load Error Using Mechanize Gem
Hi,
I''m getting a "Could not open any of [xml2, xslt, exslt] (LoadError)" error when trying to run a simple Ruby program taken from the EXAMPLES.rdoc file of the Mechanize gem.
The error is in this line of the Nokogiri module of libxml.rb: ffi_lib ''xml2'', ''xslt'', ''exslt''
Not sure if there are missing gems, and if so,
2010 Dec 13
0
ANNOUNCE: ruby-libvirt bindings 0.3.0
All,
I'm pleased to announce the release of 0.3.0 of the ruby-libvirt bindings.
This release has a number of updates:
* Implementation of Libvirt::open_auth, Libvirt::event_register_impl
* Updated Connect class, implementing conn.compare_cpu, conn.baseline_cpu,
conn.domain_event_register_any, conn.domain_event_deregister_any,
conn.domain_event_register,
2011 Mar 28
1
stage of data upload/download patch
Hey all,
I'm looking at ways to upload/download to/from a datastore. I see it is on
the todo roadmap wiki (http://libvirt.org/todo.html) and also on bugzilla at
https://bugzilla.redhat.com/show_bug.cgi?id=636130. It looks to be a low
priority item, so I was thinking about writing my own patch for this when I
ran across this thread
http://comments.gmane.org/gmane.comp.emulators.libvirt/35532.
2011 Aug 18
1
Multiple Errors with RRD and Rake
Hello all,
I am trying to install the SequreISP application (link below) but I''m
facing an error that I cannot resolve and any help is much appreciated.
The application I am trying to install is:
https://github.com/sequre/sequreisp
Here''s some information about my system:
OS: Centos 5.4 (Final)
uname -a
Linux gateway 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686
2017 Apr 24
1
[FFI] [OrcJIT] Status update on C FFI for OrcJIT?
I looked around for the status of OrcJIT FFI support. The last e-mail
thread I could find was this one: Link
<http://lists.llvm.org/pipermail/llvm-dev/2015-February/081679.html>
Raw: http://lists.llvm.org/pipermail/llvm-dev/2015-February/081679.html
Is OrcJIT now considered stable enough that there can be "official" exposed
C APIs?
If not, what's the standard approach if I
2008 Jun 30
0
[LLVMdev] Recently failing vector tests
On Jun 30, 2008, at 9:25 AMPDT, Duncan Sands wrote:
> Hi Dale, yes it's just stack alignment. Unfortunately
> your patch doesn't make any difference.
>
> Thanks for thinking about this,
>
> Duncan.
OK, the test is not quite right then. This doesn't happen on Darwin
so I'm
afraid you'll have to debug it. Perhaps testing for
2008 Jun 30
1
[LLVMdev] Recently failing vector tests
Hi Dale,
> OK, the test is not quite right then. This doesn't happen on Darwin
> so I'm
> afraid you'll have to debug it. Perhaps testing for
> (RegInfo->needsStackRealignment(Fn) &&
> FFI->getObjectIndexEnd()!=0)
> ?
yes, that works - thanks! Since I have no idea what this is
doing, is it ok if I leave it to you to commit it?
2008 Jun 30
2
[LLVMdev] Recently failing vector tests
Hi Dale, yes it's just stack alignment. Unfortunately
your patch doesn't make any difference.
Thanks for thinking about this,
Duncan.
On Friday 27 June 2008 19:51:00 Dale Johannesen wrote:
> On Jun 27, 2008, at 3:11 AMPDT, Duncan Sands wrote:
> > FAIL: test/CodeGen/X86/vec_shuffle-10.ll
> > Failed with exit(1) at line 3
> > while running: llvm-as <
2019 Jun 05
1
Re: The way of implementing structs of Rust bindings
Dear Richard,
> We have tended to avoid this in other languages because the results
> can be very poor quality (eg. swig bindings are usually terrible).
> However if the resulting code from bindgen is high quality and
> accurately covers all the features that libguestfs bindings need then
> we can consider it.
Thank you for your reply. Actually, I have not used bindgen and I
2012 May 18
7
Dir.create_junction with FFI
Hi,
Try as I might, I just cannot get Dir.create_junction to work with FFI
in the ffi branch of the win32-dir project. The problem is the
REPARSE_JDATA_BUFFER struct. I''m just not sure how to set those
members, specifically, the PathBuffer member. The target looks good,
it''s UTF-16LE encoded, but I can''t make it work, despite trying
several ways of defining the struct,
2008 Jul 24
0
[LLVMdev] customized output of double load/store on ppc32
On Wed, Jul 23, 2008 at 5:05 PM, Scott Graham <scott.llvm at h4ck3r.net> wrote:
> On Wed, Jul 23, 2008 at 4:46 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
>> On Wed, Jul 23, 2008 at 4:23 PM, Scott Graham <scott.llvm at h4ck3r.net> wrote:
>>> I'm using the PPC backend's output as the "bytecode" for an interpreter
>>> that I
2019 Jul 23
2
Re: [PATCH] Rust bindings: Add Rust bindings
I found a bug in the bindings, so I fixed it. I'm sorry about sending you
the patch many times.
Regards,
Hiroyuki
2019年7月20日(土) 16:23 Hiroyuki Katsura <hiroyuki.katsura.0513@gmail.com>:
> From: Hiroyuki_Katsura <hiroyuki.katsura.0513@gmail.com>
>
> Rust bindings: Add create / close functions
>
> Rust bindings: Add 4 bindings tests
>
> Rust bindings: Add
2010 Oct 08
1
Mac OS X: dyld: lazy symbol binding failed
I'm using the Ruby/FFI libvirt library and getting this consistently
on Mac OS X:
ruby-1.9.2-p0 > FFI::Libvirt.virInitialize
dyld: lazy symbol binding failed: Symbol not found: _virThreadInitialize
Referenced from: /usr/local/lib/libvirt.dylib
Expected in: flat namespace
dyld: Symbol not found: _virThreadInitialize
Referenced from: /usr/local/lib/libvirt.dylib
Expected in: flat
2010 Jan 01
1
[LLVMdev] How does JIT/lli work with bc file?
Hi Eli,
I think the llvm configure has already configured with ffi.
../llvm-2.6/configure -help | grep ffi
--enable-libffi Check for the presence of libffi (default is YES)
In addition, the printf() can work in program, reflecting that libffi is
working, right?
How can I make Interpreter work with getpid(), fork(), and clone()?
On Thu, Dec 31, 2009 at 2:33 AM, Eli
2019 Jul 17
2
[PATCH] Rust bindings: Add Rust bindings
From: Hiroyuki_Katsura <hiroyuki.katsura.0513@gmail.com>
Rust bindings: Add create / close functions
Rust bindings: Add 4 bindings tests
Rust bindings: Add generator of structs
Rust bindings: Add generator of structs for optional arguments
Rust bindings: Add generator of function signatures
Rust bindings: Complete actions
Rust bindings: Fix memory management
Rust bindings: Add