Code/HelloFuseCarbon: Difference between revisions

From kJams Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 4: Line 4:


at this point it's several revisions out of date, but it'll get you started.
at this point it's several revisions out of date, but it'll get you started.
Goodness included:
* A complete "hello world" Fuse project using Carbon
* a CFileRef object: powerful abstraction on FSRef / full path / Alias records / Directories, extremely useful, you have to see it
* A SuperString object: a very *very* powerful abstraction on strings.  Compatible with CFStrings, HFSUniStr255, pure unicode buffer, c-strings, p-strings, std::strings, OSType, float / integer, any kind of encoding, any kind of converting, eg: to utf8, 16, 32, truncating, searching, subsituting, comparing, splitting, etc etc, it's huge but still light weight (20 bytes overhead per)
* A set of low level File System Utilities for doing just about anything
* A simplified and easy to use Thread object for creating preemptive threads, with a completion call back.

Revision as of 20:23, 19 June 2008

Download

This contains a carbon XCode project for the MacFUSE project.

at this point it's several revisions out of date, but it'll get you started.

Goodness included:

  • A complete "hello world" Fuse project using Carbon
  • a CFileRef object: powerful abstraction on FSRef / full path / Alias records / Directories, extremely useful, you have to see it
  • A SuperString object: a very *very* powerful abstraction on strings. Compatible with CFStrings, HFSUniStr255, pure unicode buffer, c-strings, p-strings, std::strings, OSType, float / integer, any kind of encoding, any kind of converting, eg: to utf8, 16, 32, truncating, searching, subsituting, comparing, splitting, etc etc, it's huge but still light weight (20 bytes overhead per)
  • A set of low level File System Utilities for doing just about anything
  • A simplified and easy to use Thread object for creating preemptive threads, with a completion call back.