[#13273] Ruby anywhere — "NAKAMURA, Hiroshi" <nakahiro@...>

なひです.rubyistモード.

262 messages 1999/04/01
[#13305] Re: Ruby anywhere — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/04/05

なひです.

[#13308] Re: Ruby anywhere — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/04/05

なひです.まったく何書いてんだか... > 自分 ^^;

[#13309] Re: Ruby anywhere — 中村暁史 <anakamur@...> 1999/04/05

[#13310] iterator for Dummies( was Re: Ruby anywhere ) — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/04/05

なひです.もちろん「Dummy」なのは私です.^^;

[#13313] Re: iterator for Dummies( was Re: Ruby anywhere ) — Shugo Maeda <shugo@...> 1999/04/05

前田です。

[#13314] Re: iterator for Dummies( was Re: Ruby anywhere ) — hisanori@... 1999/04/06

松尾です。

[#13317] Re: iterator for Dummies( was Re: Ruby anywhere ) — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/04/06

なひです.

[#13330] Re: iterator for Dummies( was Re: Ruby anywhere ) — Wakou Aoyama <wakou@...> 1999/04/06

青山です。

[#13363] Re: iterator for Dummies( was Re: Ruby anywhere ) — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/04/06

なひです.

[#13367] Re: iterator for Dummies( was Re: Ruby anywhere ) — Wakou Aoyama <wakou@...> 1999/04/06

青山です。

[#13312] Re: Ruby anywhere — Inaba Hiroto <inaba@...> 1999/04/05

稲葉です。

[#13474] Re: Ruby and LISP ( was Re: Ruby anywhere ) — takagi@... (TAKAGI, Hiromitsu) 1999/04/08

Shugo Maeda <shugo@netlab.co.jp> writes:

[#13490] Re: Ruby and LISP ( was Re: Ruby anywhere ) — Shugo Maeda <shugo@...> 1999/04/08

前田です。

[#13621] Integer[num] (Re: Ruby and LISP) — gotoken@... (GOTO Kentaro) 1999/04/12

ごとけんです

[#13622] Re: Integer[num] (Re: Ruby and LISP) — Shugo Maeda <shugo@...> 1999/04/12

前田です。

[#13624] Re: Integer[num] (Re: Ruby and LISP) — gotoken@... (GOTO Kentaro) 1999/04/12

ごとけんです

[#13630] Re: Integer[num] (Re: Ruby and LISP) — Shugo Maeda <shugo@...> 1999/04/12

前田です。

[#13675] Re: Integer[num] (Re: Ruby and LISP) — gotoken@... (GOTO Kentaro) 1999/04/13

ごとけんです

[#13677] Re: Integer[num] (Re: Ruby and LISP) — 中村暁史 <anakamur@...> 1999/04/13

[#13690] Flyweight (Re: Integer[num]) — gotoken@... (GOTO Kentaro) 1999/04/13

ごとけんです

[#23715] Re: Flyweight (Re: Integer[num]) — Masatoshi SEKI <m_seki@...> 2000/07/05

[#23718] context switch during finalizer(Re: Re: Flyweight) — matz@... (Yukihiro Matsumoto) 2000/07/06

まつもと ゆきひろです

[#23727] Re: context switch during finalizer(Re: Re: Flyweight) — Masatoshi SEKI <m_seki@...> 2000/07/06

[#13496] What is Object in Ruby? (Re: Ruby and LISP) — Shin-ichiro Hara <sinara@...> 1999/04/08

原です。

[#13800] Re: What is Object in Ruby? (Re: Ruby and LISP) — Shin-ichiro Hara <sinara@...> 1999/04/16

原です。

[#13805] Re: What is Object in Ruby? (Re: Ruby and LISP) — gotoken@... (GOTO Kentaro) 1999/04/16

ごとけんです

[#13808] Re: What is Object in Ruby? (Re: Ruby and LISP) — Shin-ichiro Hara <sinara@...> 1999/04/16

原です。

[#13816] Re: What is Object in Ruby? (Re: Ruby and LISP) — Wakou Aoyama <wakou@...> 1999/04/16

青山です。

[#13824] Re: What is Object in Ruby? (Re: Ruby and LISP) — Shin-ichiro Hara <sinara@...> 1999/04/16

原です。

[#13830] Re: What is Object in Ruby? (Re: Ruby and LISP) — Wakou Aoyama <wakou@...> 1999/04/16

青山です。

[#13839] Re: What is Object in Ruby? (Re: Ruby and LISP) — Wakou Aoyama <wakou@...> 1999/04/17

青山です。

[#13842] Re: What is Object in Ruby? (Re: Ruby and LISP) — Shin-ichiro Hara <sinara@...> 1999/04/17

原です。

[#13856] Re: What is Object in Ruby? (Re: Ruby and LISP) — gotoken@... (GOTO Kentaro) 1999/04/18

ごとけんです

[#13872] Re: What is Object in Ruby? (Re: Ruby and LISP) — Shin-ichiro Hara <sinara@...> 1999/04/19

原です。

[#13880] Re: What is Object in Ruby? (Re: Ruby and LISP) — gotoken@... (GOTO Kentaro) 1999/04/19

ごとけんです

[#13883] destructive methods (Re: Re: What is Object in Ruby?) — matz@... (Yukihiro Matsumoto) 1999/04/19

[#13371] Re: Ruby and LISP ( was Re: Ruby anywhere ) — takagi@... (TAKAGI, Hiromitsu) 1999/04/06

> > > 「call-by-referenceで」もちょっと言葉が違うような。

[#13377] Re: Ruby and LISP ( was Re: Ruby anywhere ) — Shin-ichiro Hara <sinara@...> 1999/04/07

原です。

[#13378] Re: Ruby and LISP ( was Re: Ruby anywhere ) — Shugo Maeda <shugo@...> 1999/04/07

前田です。

[#13380] Re: Ruby and LISP ( was Re: Ruby anywhere ) — Shin-ichiro Hara <sinara@...> 1999/04/07

原です。

[#13390] Re: Ruby and LISP ( was Re: Ruby anywhere ) — Wakou Aoyama <wakou@...> 1999/04/07

青山です。

[#13398] Re: Ruby and LISP ( was Re: Ruby anywhere ) — Shin-ichiro Hara <sinara@...> 1999/04/07

原です。

[#13399] constant/immutable(Re: Ruby and LISP) — Shugo Maeda <shugo@...> 1999/04/07

前田です。

[#13400] Re: constant/immutable(Re: Ruby and LISP) — 中村暁史 <anakamur@...> 1999/04/07

[#13516] Re: Ruby and LISP ( was Re: Ruby anywhere ) — takagi@... (TAKAGI, Hiromitsu) 1999/04/08

Shugo Maeda <shugo@netlab.co.jp> writes:

[#13526] Re: Ruby and LISP ( was Re: Ruby anywhere ) — Shugo Maeda <shugo@...> 1999/04/09

前田です。

[#13568] Re: Ruby and LISP ( was Re: Ruby anywhere ) — takagi@... (TAKAGI, Hiromitsu) 1999/04/09

Shugo Maeda <shugo@netlab.co.jp> writes:

[#13383] — Inaba Hiroto <inaba@...>

稲葉です.

18 messages 1999/04/07
[#13422] Re: — kjana@... (YANAGAWA Kazuhisa) 1999/04/07

In message <9904070229.AA11857@tux0017.sdd.tokyo-sc.toshiba.co.jp>

[#13435] What is `binding' (was Re: Ruby and LISP) — Inaba Hiroto <inaba@...> 1999/04/08

稲葉です。これも出しなおしです.

[#13502] Re: Ruby and LISP ( was Re: Ruby anywhere ) — "豊福" <toyofuku@...>

豊福@パパイヤです。

16 messages 1999/04/08

[#13644] bbs — kikutani@...

rubyで書かれたWebの掲示板てありましたっけ?

31 messages 1999/04/12
[#13656] Re: bbs — TADA Tadashi <sho@...> 1999/04/13

初めて投稿します。多田@S.P.C.です。

[#13657] Re: bbs — kikutani@... 1999/04/13

On Tue, 13 Apr 1999 11:16:47 +0900,

[#13663] Re: bbs — hisanori@... 1999/04/13

松尾です。

[#13867] Re: What is Object in Ruby? (Re: Ruby and LISP) — toyofuku@...

豊福@パパイヤです。

15 messages 1999/04/19
[#13876] Re: What is Object in Ruby? (Re: Ruby and LISP) — Wakou Aoyama <wakou@...> 1999/04/19

青山です。

[#13903] timer — hisanori@...

松尾です。

24 messages 1999/04/20
[#13905] Re: timer — matz@... (Yukihiro Matsumoto) 1999/04/20

まつもと ゆきひろです

[#13910] Re: timer — hisanori@... 1999/04/20

松尾です.

[#13911] Thread GC (Re: Re: timer) — matz@... (Yukihiro Matsumoto) 1999/04/20

まつもと ゆきひろです

[#13920] Re: Thread GC (Re: Re: timer) — hisanori@... 1999/04/20

松尾です.

[#13924] Re: Thread GC (Re: Re: timer) — matz@... (Yukihiro Matsumoto) 1999/04/20

まつもと ゆきひろです

[#14037] TMail について — 民斗 <tommy@...>

民斗です。

38 messages 1999/04/24
[#14082] Re: TMail について — Minero Aoki <aamine@...> 1999/04/27

あおきです。報告ありがとうございます。

[#14088] Re: TMail について — 民斗 <tommy@...> 1999/04/28

民斗です。

[#14090] Re: TMail について — WATANABE Hirofumi <watanabe@...> 1999/04/28

わたなべです.

[#14092] Re: TMail について — Minero Aoki <aamine@...> 1999/04/28

あおきです。

[#14095] Re: TMail について — WATANABE Hirofumi <eban@...> 1999/04/29

わたなべです.

[#14096] Re: TMail について — kikutani@... 1999/04/30

In ruby-list, you wrote:

[#14099] Re: TMail について — matz@... (Yukihiro Matsumoto) 1999/04/30

まつもと ゆきひろです

[ruby-list:14066] Re: Thread GC (Re: Re: timer)

From: kjana@... (YANAGAWA Kazuhisa)
Date: 1999-04-26 12:49:06 UTC
List: ruby-list #14066
In message <3724BC6A2B7.DBEF.anakamur@exa.i-tech.co.jp>
anakamur@exa.i-tech.co.jp writes:

> そのくせにどういうわけか、手続きのカタマリで作られた
> 「アプリケーション」は、「存在する」かのように理解されて
> いることが多いんですよね。たとえばプロセスIDとか(笑)。

それは,動いているプログラム == プロセスは実在の実体だからでしょう.
PID はそのプロセスの識別子.コードではなくて,あくまで動いているプログ
ラム.


> ましてやプロセスIDめがけてシグナルを投げるなんて…くわばらくわばら。
> なんてーか溝めがけてシグナル投げてるかのようです。

いえ,これは川に何か投げ込んで流れを変えるという行為に.... 無理なたと
えは苦しい.(^^;


> プロセス間通信といっても、ほんとの意味でプロセス同士「が」
> 通信してるんでしょうか?
> 結局、プロセスと直接接するのは「状態」だと思うのですが…
> 無論、状態が接するのはプロセス(手続き)。

あるプロセスが別のプロセスのメッセージ受け入れ口とされている所に何か
データを書き込みました.....っていうのは「プロセス同士の通信」とは認め
ていただけない?


> 同期取るなら同期フラグが存在しますし、同期しないなら
> どこかに書き捨てて(笑)置いた状態を他のプロセスが読むことでしょう。
> #…で、いいんですよね?

共有メモリを利用すると,プロセス間通信は簡単に書けますね.一方「実装が
どうであれ」モデルとしてメッセージパシングしか持っていない場合だってあ
ります.


> シグナルも似たようなものかな。ポーリングなら状態が介在しますし
> 割り込みだったらそもそも新規手続きの起動なんで議論から離れるし。

ちなみにこっちは「プロセス間通信」というよりは,「オブジェクトはメッ
セージを受け取り,必要に応じてスケジューリングを行ってから要求に答える
メソッドを起動する」というモデルを杓子定規に適用した結果の話だったりし
ます.

オブジェクトの中にはメッセージを受け取るプロセスが常に存在し,そのオブ
ジェクトのメールボックス(メッセージキュー)に届いたメッセージを適当に
取り出して,適当に処理させる.一度に一つずつ処理していってもいいし,問
題なさそうなら複数のプロセスを生成して一度に複数のメッセージを処理して
もいい.

# このモデルを杓子定規に適用し,その上で効率的な実装を目指したシステム
# として Concurrent Smalltalk があったりするわけです.....他にもいろい
# ろあるけど.

シグナルは通常の要求よりも優先度が高いメッセージとしてモデリングできる,
と.


> ただ、ちょっと美しくはないですね。好きなメソッドをばりばり
> 定義しまくってという感じには程遠いですから。

いや,だから適当な要求メッセージで初期化でも状態書き換えでもできるよう
にしておけばいいんですよ.難点は安全性に問題がある事ぐらいです (^^;


> 「今readonlyでソースをあけているviのインスタンスはドレ?」なんて
> 問い合わせをしたいなーと思う瞬間が、あるのですよー

いや,それはソースファイルの方が責任を持って一貫性の管理を行うべきなの
でしょう.あるいはファイルシステムかな.粒度が細かい方が扱いやすくなる
けど性能が出なくて大変.

....もっともソースやファイルシステムが「一貫性に問題が出る可能性あり」
というメッセージを返しても,vi やユーザが無視したらどうにもならんので
すが.


> プログラムといっても、正確にいえばプロセス(ID)、ですよね。
> ディスク上に存在する実行ファイルは、そういう意味ではオブジェクトじゃない。
> コンストラクタみたいなもんでしょうか。

テンプレートでしょう.せいぜい.


> 「サーバー(に限らないが)インスタンスを複数立ち上げたらどうなる?」
> という問題だったりします。

共有資源の食い合いをしない限り何の問題もないような気がします....


> で、ちょっと突っ込んだ話になると、今度は「インスタンスを
> 同時でなくて時間差で使ったらどうなる?」があります。
> これは永続オブジェクトの話に突入するネタでして…逃げろー(^^;

これは,同じインスタンスを利用している以上,本来なら何の問題も起こらな
い話だと思います.....本当に完全に理想的なモデルが実現されている場合は
ですが (^^; 常に同じ方法で参照する事ができる,っていうのはもっとも基本
的な機能でしょう.


> #classified object oriented ってなら、まだわかるのだが…
> #プロトタイプ指向はどうするつもりなんだろ?

委譲とか.併合とか.

# delegation と concatenation.「後から拡張する」のはなんていったっけ
# かな....

-- 
柳川和久 @ 東大阪市 . 大阪府                                 April 26, 1999
Time and tide wait for no man.

In This Thread