Ticket #61 (new proposed-project)

Opened 3 years ago

Last modified 3 years ago

Pugs - Fast Mutable Collection Types.

Reported by: autrijus@gmail.com Assigned to: none
Priority: Keywords: Pugs
Cc: Topic: Pugs
Difficulty: 2 people, 2 weeks Mentor: not-accepted

Description (Last modified by Daveman)

Currently, Haskell lacks production-grade bindings for mutable data structures, and has to rely on immutable data structures for storage.

For example, a sparse mutable array may be emulated by (IORef IntMap), and a mutable set may be emulated by (IORef Set). However, these data structures have to be reconstructed almost from scratch for each insertion/deletions, resulting in low performance.

The Pugs project implements Perl 6 on top of Haskell; we would need fast implementations for mutable sparse array, mutable ordered mappings, mutable resizable byte-buffers, as well as mutable string-indexed Hash tables.

One approach is to write a binding to Judy (judy.sf.net) or other C-based libraries, and present an API conformant to the existing Haskell libraries (e.g. MArray).

The result of this effort will be reusable to other Haskell projects as well.

Interested Mentors

Interested Students

Change History

04/29/06 23:59:18 changed by cmarcelo

  • description changed.

04/30/06 07:20:30 changed by paolo

  • description changed.

04/30/06 07:20:39 changed by paolo

  • keywords set to Pugs.

05/01/06 19:14:02 changed by autrijus@gmail.com

  • description changed.

05/04/06 10:27:26 changed by paolo

  • topic changed from misc to Pugs.

05/08/06 04:09:54 changed by Daveman

  • description changed.