[#24105] [Bug #1711] Marshal Failing to Round-Trip Certain Recurisve Data Structures — Run Paint Run Run <redmine@...>

Bug #1711: Marshal Failing to Round-Trip Certain Recurisve Data Structures

9 messages 2009/07/01

[#24116] [Bug #1715] Numeric#arg for NaN is Inconsistent Across Versions — Run Paint Run Run <redmine@...>

Bug #1715: Numeric#arg for NaN is Inconsistent Across Versions

10 messages 2009/07/02

[#24240] [Bug #1755] IO#reopen Doesn't Fully Associate with Given Stream on 1.9; Ignores pos on 1.8 — Run Paint Run Run <redmine@...>

Bug #1755: IO#reopen Doesn't Fully Associate with Given Stream on 1.9; Ignores pos on 1.8

8 messages 2009/07/09

[#24321] [Bug #1773] Gem path doesn't honor user gem? — Lin Jen-Shin <redmine@...>

Bug #1773: Gem path doesn't honor user gem?

12 messages 2009/07/14

[#24390] [Feature #1784] More encoding (Big5 series) support? — Lin Jen-Shin <redmine@...>

Feature #1784: More encoding (Big5 series) support?

12 messages 2009/07/16

[#24467] Re: [ruby-cvs:31226] Ruby:r24008 (ruby_1_8_6): Removed private on to_date and to_datetime. — Urabe Shyouhei <shyouhei@...>

Hello.

10 messages 2009/07/21

[#24472] [Feature #1800] rubygems can replace system executable files — Kazuhiro NISHIYAMA <redmine@...>

Feature #1800: rubygems can replace system executable files

13 messages 2009/07/21

[#24530] [Feature #1811] Default BasicSocket.do_not_reverse_lookup to true — Roger Pack <redmine@...>

Feature #1811: Default BasicSocket.do_not_reverse_lookup to true

9 messages 2009/07/23

[#24624] [Bug #1844] Immediates Should Not Respond to :dup — Run Paint Run Run <redmine@...>

Bug #1844: Immediates Should Not Respond to :dup

15 messages 2009/07/30

[ruby-core:24294] Re: [ANN] meeting log of RubyDeveloperKaigi20090622

From: "NARUSE, Yui" <naruse@...>
Date: 2009-07-12 13:32:35 UTC
List: ruby-core #24294
Joel VanderWerf wrote:
> Is there a pure ruby sqlite library, or for that matter _any_ pure ruby 
> sql rdbms library? Google doesn't find anything in the first few pages 
> of hits (not counting pure ruby clients to sql dbs, and pure ruby sql 
> generators).

I thought this is fiction at present.

> If there were, would anyone use it? Seems doubtful, due to the 
> "performance be damned" comment. Supporting a significant fraction of 
> SQL and RDB seems like a huge effort for marginal value.

If truely damned, anyone doesn't use it.
This is matter of degree.

> Tell me again, why does out-of-the-box ruby need a sql database? For 
> most simple purposes (config files, saving program state) aren't yaml, 
> marshal, and pstore enough? For more complex purposes, there are gems, 
> and there is the unavoidable need to make choices. Sqlite isn't even 
> always the best choice for lightweight db (if you value thread/process 
> concurrency and don't care about sql, then IMO fsdb is a better choice).

In bundled libraries we have some persistent libraries:
dbm series and Marshal series.

DBM series are key-value store. So structured data are hard to store in.

Marshal series can be used by some ways.
If store objects as-is, data is weak at changing models.
If store objects as array-hash structure, selecting a certain object
will be hard work.
RDBMS seems better than them.

For very complex and huge purposes, using MySQL or some gems is right.
Recently however people use RDBMS to store settings.
Firefox and Google Gears may be good example.

-- 
NARUSE, Yui  <naruse@airemix.jp>

In This Thread

Prev Next