6 ms·
Great job. This release took quite a bit. I think 0.48 was released two years ago. They basically rewrote the whole software in OOP.
by wooptoo 12y ago
Great job. This release took quite a bit. I think 0.48 was released two years ago. They basically rewrote the whole software in OOP.
- kgabis 12y agoIs there a reason for doing that?
- randomsearch 12y agoAlso, a rationale for choosing C++ would be interesting.
- danmaz74 12y agoIf you want to go OOP from C, what would you choose?
- randomsearch 12y agoPersonally, I'd choose one from many languages. I'm not convinced C++ is a good choice for user-level applications. Maybe for the performant parts, or for compatibility. Perhaps other factors like skillsets came into play...
- danmaz74 12y agoWe're talking about a port from C. Porting from C to C++ is much easier than porting from C to any other language...
- randomsearch 12y agoI didn't think it was a straight port... But, yeah, it's going to be easier. It's also an opportunity to consider another language that might improve productivity, reliability etc. in the future. Just wondering. Didn't mean to start a language war :-)
- danmaz74 12y agoNo problem, I'm not interested in a language war either - even more so because I haven't used C++ in 5 years :) Just wanted to point out that if you have a C code base, it is way easier to port to C++, which isn't a bad language at all.
- zem 12y agoback then c++ was probably the best bet, but today i'd at the least take a few weeks to investigate whether D was viable.
- pjc50 12y agoYou want a stable performant language OO language that uses the GUI toolkit on Linux, Windows and MacOS. Your team and existing project have a C background. What do you choose in 2012 and why?
- randomsearch 12y agoPersonally, I'd go for Java, if my team were OK with it. Maybe others would go for something more modern. I guess you're right with the skill set, but I'd like to hear it from their devs.
- jarek-foksa 12y agoThere is already an SVG editor written in Java called Kiyut Sketsa, it is unusable due to the poor performance of the Batik rendering engine (also written in Java). It makes sense to use high level languages to manipulate the document model or to implement widgets, but when it comes to the renderer you want to be as close to the metal as possible.
- jarek-foksa 12y agoThey didn't rewrite the whole software, that would take ages... The migration from C to C++ was slowly progressing since Inkscape was forked from Sodipodi over 10 years ago, but there are still some C files remaining and SP* prefixes are used all over the place. Besides, Sodipodi was already using simple GObject-based architecture.