Hi Nathansobo, ... The new build system changes and switching over to shared libraries isn't finished yet. It will probably settle down in a week or two. In ...
Is there anywhere I can get a brief rundown on how bindings are implemented? I've looked at existing bindings and have a sense, but it would be nice to get a...
Hi Nathansobo, ... Such a tutorial would be great. If it isn't too much trouble, will you take some notes while you figure out how to write bindings? Thank, ...
Writing such a tutorial is somewhere on my todo list...I'm working on libxml2 bindings right now, so once I feel that I have a good sense of what's going on...
... The darcs repo now has a version that builds statically linked version of io, ioServer and ioDesktop. I recommend using these untill we complete the work...
Hello! I just read about the new IoPython bridge, and it got me thinking - since I'm learning the QT C++ toolkit ( http://doc.trolltech.com/4.2 ), it seems ...
... The Python and Objective-C bridges are mostly runtime. C and C++ don't really expose enough metadata at runtime to create a translucent introspective...
... Ok - thanks for the explanation, that makes sense. I guess then what would be a more likely target would be something along the lines of a binding rather...
I have put -fPIC in the Makefile, but when it started to compile the libraries I've got this error: cd bindings/AAVector; gcc -shared -L../../vm/_dlibs -lIoVM...
Oliver Oli
oliver.oli@...
Aug 5, 2006 5:57 pm
9292
... Can you make a build log for us please. That is, make clean, and then run make in the top level and log everything that's printed to the screen. It's just...
Hi, I'm learning Io and have stumbled upon this error: ERROR: PHash 0x869fab0 tablesize: 32768 to big, 412 keys Is there a 32kb limit to the size of all keys...
... Slots aren't designed to be used as arbitrary key-value mappings; they're not efficient for arbitrarily many keys. If you want to manage your own mapping,...
Hi TJay, In Io slots are stored using perfect hashes (http://en.wikipedia.org/wiki/Perfect_hash_function). Perfect hashes are fast to access, but expensive to...
Thanks a bunch. I tried Map and forward() and they both wok fine. New question: Is there a slot that the vm calls to lookup slots in an object? forward is only...
Hi tj, ... Not really. I think there are some debugging hooks that could be used for this purpose, but they would be painfully slow. getSlot sounds tempting,...
... if i don't add -fPIC to the vm/Makefile, it throws the first error at compiling libIoVM.so. see the attached build log....
Oliver Oli
oliver.oli@...
Aug 6, 2006 2:28 pm
9299
... Looking through the OpenGL bindings, the constants and functions are split across several objects. So I wondered whether I could make an object which does...
Allow me to burden you guys with a very simple question. For creating an object that needs initialization arguments like you get with a constructor in...
... SkipNode := Object clone do( newSlot("next") with := method(levels, r := self clone r setNext(Tower with(levels)) r ) ) Is a more idiomatic way. -- Jeremy...
... Strange new world... both the Tower and ListNode protos exist as slots inside the SkipList proto, sort of mimicking Java inner-classes. So when I want to...
... Io's constructor idiom is to avoid constructors when possible. For example, instead of: node := SkipNode cloneWithLevels(levels) do: node := SkipNode clone...
Why does foreach(i, v, message) create slots i and v in the lobby? Seems like a very dangerous and messy way of doing things. Also, wouldn't it be better for...
Hi TJ, ... I agree, it is strange and unusual. It is mainly there for performance reasons as it saves on object creation and speeds up slot lookup. That said,...
... Mostly due to laziness I'd suspect. ... No it wouldn't be better to do that. Block activation is an expensive operation, much more so than a doMessage()...