The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Syck CVS is Buildable

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Syck CVS is Buildable Posted: Jan 24, 2005 7:03 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Syck CVS is Buildable
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

Allo, friends. Great news. The new Syck is buildable. Yes, it has some problems. The emitter in particular is really, really unstable. Still, it represents several months worth of work rethinking and redesigning parts of the extension.

Here’s what you can look forward to:

  • Huge speed improvements when outputting YAML.
  • Automatic use of YAML shortcuts, better looking output.
  • Simplified custom types. You basically just add tag_as "tag:example.com,2005:myWikiPage" to your class definition. YAML will then load and dump the class using the type.
  • Hooks for loading YAML into custom types. Add yaml_new and yaml_initialize methods to your class if you want to override the default behavior.
  • Unit tests in C for the core. This is a huge help, since I’m able to track down memory leaks and segfaults much easier.

Again, this extension is really unstable. If you’re going to use it, install it into a temporary directory using ruby install.rb config --prefix=$HOME. Then, in irb, use $LOAD_PATH.unshift File.expand_path( "~/lib" ) before require 'yaml'.

If you want to help debug, come join Yaml-Core. It’s the homebase.

Read: Syck CVS is Buildable

Topic: mq Previous Topic   Next Topic Topic: zhen-ya

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use