SFML community forums
Bindings - other languages => D => Topic started by: Trass3r on January 05, 2010, 10:08:44 pm
-
Update:
DSFML2 modules system, window and graphics are somewhat usable now.
audio and network haven't been touched yet.
It can be found in the SFML v2 branch in the svn repository.
-
That's really cool :)
Do you want to maintain the D binding, or just do this modification?
When you're ready to commit code let me know, I'll give you a write access to the SVN repository.
-
I'll try to also update it to SMFL v2.0 since I want to use it for a project.
Don't know how far I come since time is money :)
That wrapper really needs some extensive overhaul.
EDIT:
Wish you used Mercurial (or maybe even Git). It takes ages to load single changesets from the sourceforge svn servers :?
-
Wish you used Mercurial (or maybe even Git). It takes ages to load single changesets from the sourceforge svn servers
Yeah, SVN (or sf.net?) is sooo slow. But I won't switch to Mercurial or Git, sorry :P
-
sceptical? :D
Man, you changed a hell lot of code since 1.4/5.
-
sceptical?
No, I really like them but it's too uncommon for people who don't know them (even the simplest operations like commit / update / merge are complex), and the Windows clients are not as good as TortoiseSVN.
Man, you changed a hell lot of code since 1.4/5.
Indeed. SFML 2 is meant to be the "big break" (that's why it is called SFML 2, not 1.6) 8)
-
Well I haven't used Git yet but Mercurial seems pretty similar to SVN to me (of course you need to understand the notion of distributed version control systems in general first)
TortoiseHG works fine for me so far.
I'm already able to compile some code but can't run it cause there are still some functions that have been removed or renamed ;)
-
Well I haven't used Git yet but Mercurial seems pretty similar to SVN to me
Well, the fact that branches are created automatically, and that you have to explicitely fetch/merge/commit to synchronize with others' code is quite confusing and takes more time. With SVN it is automatic, everyone works on the same branch (unless you create one and switch to it), and is always synchronized with the repository.
My own conclusion (after 6 months of using Mercurial and Git) is that distributed systems are extremely powerful as long as you work alone on your own code, and merge rarely with others, but when you want to work on the same code as other developers, SVN is more straight-forward and less error-prone.
But anyway, stay focused on the D binding :lol:
-
Well a good developer shouldn't take long to become aquainted with it.
However, currently working on some sfView and sfText changes.
-
The Derelict project now has bindings for SFML 1.5, and should work with D2.0 AFAIK.
But the SFML bindings are only currently in the Derelict2 branch.
http://dsource.org/projects/derelict
-
Yeah I was the one who announced it in the other thread.
Derelict only provides bindings. DSFML is a wrapper providing object-oriented access (again).