[#3726] Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...>

Hi --

15 messages 2004/11/12
[#3749] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3751] Re: Fixnum#clone and Float#clone raise different exceptions — Yukihiro Matsumoto <matz@...> 2004/11/16

Hi,

[#3752] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3785] The latest 1.8.2 cvs prints parse error when starting extension compiling — Yukihiro Matsumoto <matz@...>

Hi,

13 messages 2004/11/23
[#3787] Re: The latest 1.8.2 cvs prints parse error when starting extension compiling — Johan Holmberg <holmberg@...> 2004/11/23

Re: Converting nil to NULL

From: Matju <matju@...>
Date: 2004-11-12 01:39:50 UTC
List: ruby-core #3715
On Fri, 12 Nov 2004 nobu.nokada@softhome.net wrote:
> At Fri, 12 Nov 2004 04:59:05 +0900,
> Matju wrote in [ruby-core:03713]:
> > After all, Ruby has _eight_ different kinds of conditional expressions
> > (the ?: syntax, the if/end syntax, and the
> unless/end

Thank you. So there are _nine_ of them. The rest of my message stays
the same.

> > In my biggest C++ program I go as far as... well... just imagine what it
> > would like if rb_scan_args had a full, user-extensible type conversion
> > system. THEN you can cut down a _lot_ on code, as you wouldn't even have
> > to call StringValuePtr directly, neither your own NULL-savvy wrapper.
> > Preserves the brain for the more challenging aspects of programming.
> It will get slower.

I'm intrigued. How do you justify that statement? I mean show that there
exists no way of doing that that does not also slow down the extension in
any way.

My assumption is that there are ways to make it not slower. I think it's a
good assumption because, in particular, I have implemented such a type
converter, it works, and it uses ways to make it not slower. :-)

_____________________________________________________________________
Mathieu Bouchard -=- Montr饌l QC Canada -=- http://artengine.ca/matju



In This Thread

Prev Next