digitalmars.D - D fuse binding
- Robert Klotzner (28/28) Apr 11 2012 Hi guys!
Hi guys! I am currently working on fuse ( http://fuse.sourceforge.net/ ) bindings for D and already have a hello world filesystem up and running. You can find it here: https://github.com/eskimor/fuse (The hello world is currently only compiling on 64 bit) The first question I have (a little late), is there already a binding available for fuse somewhere? With googling I did not find any, but maybe you know something. Second I ran into a few issues: 1. http://d.puremagic.com/issues/show_bug.cgi?id=6754 -> The suggested solution to use an alias is not bad, although it complicates my neat tiny mixin which generates a default implementation for my interfaces methods (it is really just a few lines of code, and was not hard at all, so really really neat, I love D!). But ok, I can live with that. 2. http://d.puremagic.com/issues/show_bug.cgi?id=5206 -> Is someone working on this one? If no, I would fix it. 3. core.sys.posix.sys.stat existence: I first implemented this struct on my own in D, because I did not realize that it existed already, because I relied on the documented stuff on dlang.org, so I'd suggest adding a more prominent hint at the top of the library documentation, that not everything can be found here and that one should look at the interface files found in /usr/include/d on Linux for example. 4. Array copy via: arr[]=other_arr[0..3] caused a segfault, while arr[0..3]=other_arr[0..3] worked. I should note that the arr slice pointed to an array allocated by C. Anyway this one I'll have to evaluate further. Best regards, Robert
Apr 11 2012