Merge YARV

On Jan 3, 2007, at 6:24 AM, SASADA Koichi wrote:

does anyone has a solution? now, I can’t access MacOS.

I can get you access to OSX (intel, ppc) and FreeBSD. Send me what OS
access you need and your SSH key.

[email protected]$G$9!#e(B

Hidetoshi NAGAI wrote:

[email protected]$&$H!“A0<T$NItJ,$O!”$=$b$=$be(BRubye$B$N%9%l%C%I%b%G%k$,JQ$o$Ce(B
e$B$F$$$k$N$G:,K$+$i8+D>$5$J$$$H$$$1$J$$$h$&$J5$$,$7$F$$$^$9!#[email protected]!"$H$j$"e(B
e$B$($:%M%$%F%#%V%9%l%C%I$r;H$C$F$O5o$^$9!#e(B

e$B$^[email protected]$Y$F$O$$$J$$$N$G$9$,!$e(Btcltklib.c e$B$He(B multi-tk.rb e$B$H$Oe(B
e$BBgI}$K=q$-49$($,I,MW$H$$$&$3$H$K$J$j$=$&$G$9$M!%e(B(;_:wink:
Ruby/Tk e$B$Ne(B YARV e$BBP1~$K$O>/$7;~4V$,$+$+$k$+$b$7$l$^$;$s!%e(B
e$B%9%l%C%I4X78$G$O$$$/$D$+<ALd$5$;[email protected]$/$3$H$Ke(B
e$B$J$k$+$b$7$l$^$;$s$N$G!$$=$N:]$K$O$h$m$7$/$*4j$$CW$7$^$9!%e(B

e$B!!$3$A$i$3$=$I$&$>$h$m$7$/$4j$$$7$^$9!#%I%s%I%s<ALd$7$F$d$C$F$/[email protected]$5$$!#e(B
e$B$3$A$i$b!"e(BYARVe$B0\9T$KH<$$%I%-%e%a%s%H$r$^$H$a$F$
$3$&$H;W$C$F$$$k$s$G$9e(B
e$B$,!"$I$&$$$&@bL@$,I,MW$J$N$+$^[email protected]$o$+$C$F$$$J$$>u67$J$N$G!"@bL@FbMF$N%j%/e(B
e$B%(%9%H$OBg4?7^$G$9!#e(B

[email protected]$G$9!#e(B

Nobuyoshi N. wrote:

bisone$B$+$i7Y9p$,=P$k$N$,5$$K$J$C$?$N$G$9$,!“e(Bf_largliste$B$N$”$H$Ne(B
vtable_size()e$B$OITMW$G$9$+e(B?

e$B!!%Q!<%5$K$D$$$F$OA4A3<+?.$,L5$$$N$G$9$,!"@N$$$8$C$?$H$-$K!";w$?$h$&$J$be(B
e$B$N$,$"$C$?$N$G!"8+$h$&8+??;w$G$D$1$?$s$8$c$J$$$+$J$!$H;W$$$^$9!#0N$$?M$Ne(B
e$B$4H=CG$rBT$A$?$$$H;W$$$^$9!#e(B

e$B$b$&[email protected]!"$G$-$l$Pe(B.ince$B$be(B.SUFFIXESe$B$KDI2C$7$F$*$$$F$/[email protected]$5$$!#e(B

e$B!!$3$A$i$K$D$$$F$O%3%_%C%H$7$^$7$?!#e(B

SASADA Koichi [email protected] writes:

Hi,

I’ll commit YARV to Ruby Subversion repository.

The merged repository can be git cloned at:

                 http://ruby-sources.oree.ch

Thanks to Michael F. for providing an account and a box to do
the conversion.
Thanks to Jonas P. for hosting ruby-sources.oree.ch and
resources.

[email protected]$G$9!#e(B
Nobuyoshi N. wrote:

cygwine$B$G$Oe(Bthread_win32.cie$B$,;H$o$l$k0lJ}$Ge(Bfork()e$B$,B8:_$9$k$N$G!"e(B
rb_thread_reset_timer_thread()e$B$,$J$$$H$$$&%(%i!<$K$J$j$^$7$?!#e(B

e$B!!$"$j$,$H$&$4$6$$$^$9!#%3%_%C%H$7$^$7$?!#e(B

e$B!!$7$+$7!“e(Bcygwin e$B$Ge(B fork + pthread
e$B$C$F$I$&[email protected]$m$&$J!#62$m$7$$!#$He(B
e$B$j$”$($:!"e(BNetBSD e$B$G$Oe(B Kernel#fork e$B$,F0$+$J$$$h$&$G$9!#e(B

e$B1J0f!wCNG=!%6e9)Bg$G$9!%e(B

From: SASADA Koichi [email protected]
Subject: [ruby-dev:30078] Re: merge YARV
Date: Fri, 5 Jan 2007 10:49:13 +0900
Message-ID: [email protected]

e$B$^[email protected]$Y$F$O$$$J$$$N$G$9$,!$e(Btcltklib.c e$B$He(B multi-tk.rb e$B$H$Oe(B
e$BBgI}$K=q$-49$($,I,MW$H$$$&$3$H$K$J$j$=$&$G$9$M!%e(B(;_:wink:
Ruby/Tk e$B$Ne(B YARV e$BBP1~$K$O>/$7;~4V$,$+$+$k$+$b$7$l$^$;$s!%e(B
e$B%9%l%C%I4X78$G$O$$$/$D$+<ALd$5$;[email protected]$/$3$H$Ke(B
e$B$J$k$+$b$7$l$^$;$s$N$G!$$=$N:]$K$O$h$m$7$/$*4j$$CW$7$^$9!%e(B

e$B!!$3$A$i$3$=$I$&$>$h$m$7$/$4j$$$7$^$9!#%I%s%I%s<ALd$7$F$d$C$F$/[email protected]$5$$!#e(B
e$B$3$A$i$b!"e(BYARVe$B0\9T$KH<$$%I%-%e%a%s%H$r$^$H$a$F$
$3$&$H;W$C$F$$$k$s$G$9e(B
e$B$,!"$I$&$$$&@bL@$,I,MW$J$N$+$^[email protected]$o$+$C$F$$$J$$>u67$J$N$G!"@bL@FbMF$N%j%/e(B
e$B%(%9%H$OBg4?7^$G$9!#e(B

e$B$H$j$"$($:e(B is_ruby_native_thread()
e$B$r%@%!<2=$7$FF0$+$7$F$$?7k2L!$e(B
e$B!V:G=i$Ke(B require ‘tk’ e$B$r$7$?%9%l%C%I$G$N$_e(B Ruby/Tk
e$B$,;H$($k!W$H$$$&e(B
e$B>u67$N$h$&$G$9!%e(B
e$BJL%9%l%C%I$+$i8F$$&$H$9$k$H8z2L$,$J$+$C$?$j8G$^$C$?$j$7$^$9!%e(B
e$BB>$K$bLdBj$,$"$k$h$&$G$9$,!$$H$j$"$($:$OCWL?E*[email protected]$($k%9%l%C%I4XO"$Ne(B
e$BLdBj$,M%@h$G$9$M!%e(B
e$BBP:v$r;$7$F$$$/>e$G!$!V$3$&$7$?$i$$$$!W$"$k$$$O!V$3$&$5$l$k$H:$$k!We(B
e$B$J$I$N>pJs$,$"$j$^$7$?$i!$$*65$(2<$5$$!%e(B

SASADA Koichi wrote:

regards,

Funny you should mention “pragmatic programs”. I just got back from the
Mountain West Ruby Conference. And the other day, someone filed a bug
against the inverse routine in Matrix. So I just updated my Matrix
benchmark. To get it, do

svn checkout svn://rubyforge.org/var/svn/cougar/MatrixBenchmark

The main change is that I have switched from using an identity matrix to
using a (rational) Hilbert matrix. This exercises a lot more of Ruby,
including the garbage collector and some of the numeric routines.

Unfortunately, it segfaults in YARV. :frowning: The output log can be found in
“MatrixBenchmark/run-benchmark.log”. “build-all.log” shows the trace of
the compile and the download from the YARV trunk. And the profile for
Ruby 1.8.6 is “profile.txt” with annotated source “source.text”.

By the way, the deadline for Google Summer of Code student applications
is only four days away. If you are or know a student that’s interested
in contributing to Ruby, the URL is

http://groups.google.com/group/google-summer-of-code-announce/web/guide-to-the-gsoc-web-app-for-student-applicants

We would love to see some people contributing to performance tuning
Ruby. I’ve volunteered to serve as a mentor, and that’s one of the areas
I’m interested in … performance tuning the C reference implementations
of Ruby, especially 1.8.6.


M. Edward (Ed) Borasky, FBG, AB, PTA, PGS, MS, MNLP, NST, ACMC§
http://borasky-research.blogspot.com/

If God had meant for carrots to be eaten cooked, He would have given
rabbits fire.

[email protected]$G$9!#e(B

Hidetoshi NAGAI wrote:

e$B$H$j$"$($:e(B is_ruby_native_thread() e$B$r%@%!<2=$7$FF0$+$7$F$$?7k2L!$e(B
e$B!V:G=i$Ke(B require ‘tk’ e$B$r$7$?%9%l%C%I$G$N$_e(B Ruby/Tk e$B$,;H$($k!W$H$$$&e(B
e$B>u67$N$h$&$G$9!%e(B
e$BJL%9%l%C%I$+$i8F$$&$H$9$k$H8z2L$,$J$+$C$?$j8G$^$C$?$j$7$^$9!%e(B
e$BB>$K$bLdBj$,$"$k$h$&$G$9$,!$$H$j$"$($:$OCWL?E*[email protected]$($k%9%l%C%I4XO"$Ne(B
e$BLdBj$,M%@h$G$9$M!%e(B
e$BBP:v$r;$7$F$$$/>e$G!$!V$3$&$7$?$i$$$$!W$"$k$$$O!V$3$&$5$l$k$H:$$k!We(B
e$B$J$I$N>pJs$,$"$j$^$7$?$i!$$*65$(2<$5$$!%e(B

e$B!!$=$&$$$($P!"e(Brb_proc_new() e$B$O:n$j$^$7$?!#e(B

e$B!!e(Btcl/tk
e$B$,%M%$%F%#%V%9%l%C%I$KBP$7$F$I$N$h$&$JBP=h$r$7$F$$$k$N$+$h$/$oe(B
e$B$+$C$F$$$J$$$N$G$9$,!"$?$H$($P%a%C%;!<%8%]%s%W!J$"$k$N$+$7$i$s!K$HJL%9e(B
e$B%l%C%I$GF0$$$A$c$&$H$^$:$$!"$C$F$3$H$K$J$j$^$9$G$7$g$&$+!#e(B

e$B!!e(Btk
e$B;H$&?M$O!"%9%l%C%I$N;H$$J}$KCm0U$7$^$7$g$&!"$G$OFq$7$$46$8$G$7$g$&$+!#e(B

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:30090] Re: merge YARV”
on Fri, 5 Jan 2007 20:25:13 +0900, SASADA Koichi [email protected]
writes:

|Nobuyoshi N. wrote:
|> bisone$B$+$i7Y9p$,=P$k$N$,5$$K$J$C$?$N$G$9$,!“e(Bf_largliste$B$N$”$H$Ne(B
|> vtable_size()e$B$OITMW$G$9$+e(B?
|
|e$B!!%Q!<%5$K$D$$$F$OA4A3<+?.$,L5$$$N$G$9$,!"@N$$$8$C$?$H$-$K!";w$?$h$&$J$be(B
|e$B$N$,$"$C$?$N$G!"8+$h$&8+??;w$G$D$1$?$s$8$c$J$$$+$J$!$H;W$$$^$9!#0N$$?M$Ne(B
|e$B$4H=CG$rBT$A$?$$$H;W$$$^$9!#e(B

e$B$&!<$s!"C/$N%3!<%[email protected]$m$&!)e(B e$B0N$$?M$C$FC/[email protected]$m$&!)e(B

[email protected]$G$9!#e(B

Hidetoshi NAGAI wrote:

e$B%7%0%J%k=hM}$K$D$$$F$b2?$i$+$NBP=h$,I,MW$J$h$&$K;W$&$N$G$9$,!$e(B
tcltklib.c e$B>e$N$_$G$&$^$/$4$^$+$;$k$3$H$J$N$+!$e(B
signal.c e$B$r$$$8$kI,MW$,$"$k$3$H$J$N$+$r>80.$G$-$F$$$^$;$s!%e(B
[email protected]!$e(BTk e$B$re(B require e$B$7$J$/$F$b%9%l%C%I$,[email protected]:]$Ke(B
e$B%7%0%J%k=hM}$N0[>[email protected]$8$k$3$H$,$"$k$h$&$J$N$G!$e(B
signal.c e$B$b$3$N$^$^$G$O$^$:$=$&$J5$$O$7$F$$$^$9!%e(B

e$B!!%7%0%J%k$K$D$$$F$O!“2?$bL5$/$F$bFq57$J$N$G$9$,!”$b$7!V$3$&$$$&$U$&$K$7e(B
e$B$J$$$H!W$H$$$&$3$H$,$"$l$P65$($F$/[email protected]$5$$!#e(B

e$B$O%@%a$G$9$7!$e(B

require ‘tk’
l = TkLabel.new.pack
Thread.new{
10.times{|i| l.text = i; sleep 1}
}
Tk.mainloop

e$B$N$h$&$J$3$H$b%@%a$G$9$N$G!%e(B

e$B!!MW$9$k$K!"!VCm0U$7$^$7$g$&!W$H$$$&$N$O!"!V$=$s$J$3$H$9$k$J!W$H$$$&0UL#e(B
e$B$G=q$$$F$*$j$^$7$?!#e(B

e$B1J0f!wCNG=!%6e9)Bg$G$9!%e(B

From: SASADA Koichi [email protected]
Subject: [ruby-dev:30149] Re: merge YARV
Date: Fri, 19 Jan 2007 12:51:38 +0900
Message-ID: [email protected]

e$B!!%7%0%J%k$K$D$$$F$O!“2?$bL5$/$F$bFq57$J$N$G$9$,!”$b$7!V$3$&$$$&$U$&$K$7e(B
e$B$J$$$H!W$H$$$&$3$H$,$"$l$P65$($F$/[email protected]$5$$!#e(B

e$B$b$7$"$l$P!$A0$N%a!<%k$G=q$$$F$^$9!%e(B(^_^;
e$B>/$J$/$H$b8=;[email protected]$G$O%"%$%G%#%"$J$7$G$9!%e(B

e$B$D$$$G$G$9$,!$?75,$K%9%l%C%I$r:[email protected]$7$?:]$K!$e(B
e$B?F$,B0$9$k%9%l%C%I%0%k!<%W$,0z$-7Q$,$l$F$$$J$$$h$&$G$9!%e(B

e$B!!MW$9$k$K!"!VCm0U$7$^$7$g$&!W$H$$$&$N$O!"!V$=$s$J$3$H$9$k$J!W$H$$$&0UL#e(B
e$B$G=q$$$F$*$j$^$7$?!#e(B

e$B!V$7$J$$!W$H$$$&$N$OL5M}$G$7$g$&$M!%e(B
widget demo e$B$G$b;H$C$F$^$9$7!$e(B
MultiTkIp e$B$J$I$b%9%l%C%I$K0MB8$7$^$/$C$F$^$9$N$G!%e(B

e$B1J0f!wCNG=!%6e9)Bg$G$9!%e(B

From: SASADA Koichi [email protected]
Subject: [ruby-dev:30145] Re: merge YARV
Date: Thu, 18 Jan 2007 13:43:42 +0900
Message-ID: [email protected]

e$B!!$=$&$$$($P!"e(Brb_proc_new() e$B$O:n$j$^$7$?!#e(B

e$B$"$j$,$H$&$4$6$$$^$9!%e(B

e$B!!e(Btcl/tk e$B$,%M%$%F%#%V%9%l%C%I$KBP$7$F$I$N$h$&$JBP=h$r$7$F$$$k$N$+$h$/$oe(B
e$B$+$C$F$$$J$$$N$G$9$,!"$?$H$($P%a%C%;!<%8%]%s%W!J$"$k$N$+$7$i$s!K$HJL%9e(B
e$B%l%C%I$GF0$$$A$c$&$H$^$:$$!"$C$F$3$H$K$J$j$^$9$G$7$g$&$+!#e(B

e$B;d$bNI$/J,$+$C$F$O$$$J$+$C$?$N$Ge(B ;;;^_^;;;
e$BD4$Y$F$$$?$N$G$9$,!$e(B

e$B!&%$%s%?%W%j%?$O$=$l$,:[email protected]$5$l$?%M%$%F%#%V%9%l%C%I$K94B+$5$l!$e(B
e$BB>$N%M%$%F%#%V%9%l%C%I$+$i$N%"%/%;%9$O$G$-$J$$!%e(B

e$B!&%$%Y%s%H%-%e!<$O%M%$%F%#%V%9%l%C%I$4$H$K8DJL$KB8:$9$k!%e(B
e$B=hM}BP>]$K$G$-$k%$%s%?!<%W%j%?$O!$F1$8%M%$%F%#%V%9%l%C%I>e$N$b$N$N$
!%e(B

e$B!&B>$N%M%$%F%#%V%9%l%C%I>e$N%$%Y%s%H%-%e!<$K%$%Y%s%H$rAw$k$3$H$O2DG=!%e(B

e$B$H$$$&$h$&$J46$8$G$9!%e(B

e$B$H$$$&$o$1$G!$e(BTclTkIp
e$B%*%V%8%’%/%H$K%9%l%C%I>pJs$r;}$?$;$k$H$+!$e(B
e$B%$%Y%s%H%k!<%W$N4IM}J}K!$rJQ99$7$J$1$l$P$J$i$J$$$H$+!$e(B
Tcl/Tk e$B%$%s%?!<%W%j%?$N4X?t$rD>@\8F$V$h$&$K$7$F$$$?ItJ,$Oe(B
e$B$9$Y$F=q$-49$($J$1$l$P$J$i$J$$$H$+!%!%!%e(B
e$B$^$!!$$$$m$$$m$H$d$i$J$-$c$$$1$J$$$3$H$,B?$=$&$G$9!%e(B

e$B%7%0%J%k=hM}$K$D$$$F$b2?$i$+$NBP=h$,I,MW$J$h$&$K;W$&$N$G$9$,!$e(B
tcltklib.c e$B>e$N$_$G$&$^$/$4$^$+$;$k$3$H$J$N$+!$e(B
signal.c e$B$r$$$8$kI,MW$,$"$k$3$H$J$N$+$r>80.$G$-$F$$$^$;$s!%e(B
[email protected]!$e(BTk e$B$re(B require e$B$7$J$/$F$b%9%l%C%I$,[email protected]:]$Ke(B
e$B%7%0%J%k=hM}$N0[>[email protected]$8$k$3$H$,$"$k$h$&$J$N$G!$e(B
signal.c e$B$b$3$N$^$^$G$O$^$:$=$&$J5$$O$7$F$$$^$9!%e(B

e$B!!e(Btk e$B;H$&?M$O!"%9%l%C%I$N;H$$J}$KCm0U$7$^$7$g$&!"$G$OFq$7$$46$8$G$7$g$&$+!#e(B

e$B%@%a$G$9$M!%e(B
e$B:#$N$^$^$G$Oe(B require ‘tk’ e$B$r<B9T$7$?%9%l%C%I0J30$Ge(B Tk
e$B$r;H$*$&$H$9$k$He(B
e$BA4$/F0$-$^$;$s$+$i!%e(B

e$BNc$($Pe(B

require ‘tk’; Thread.new{Tk.mainloop}

e$B$O%@%a$G$9$7!$e(B

require ‘tk’
l = TkLabel.new.pack
Thread.new{
10.times{|i| l.text = i; sleep 1}
}
Tk.mainloop

e$B$N$h$&$J$3$H$b%@%a$G$9$N$G!%e(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs