[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

AW: C++ thoughts for Berlin

From: Markus Schaber <m.schaber_at_codesys.com>
Date: Mon, 3 Jun 2013 05:53:05 +0000

Hi, Blair,

Von: Blair Zajac [mailto:blair_at_orcaware.com]
> > [Discussion whether to use (part of) C++ for SVN development]
>
> I agree it's not worth going to C++. Where I'm coming from is a frustration
> on the number of times I've seen pool lifetime bugs get fixed and it would be
> great to be in a language where one doesn't need to worry about that, or as
> much.

I fully understand your frustration. :-)

C can be frustrating. But believe me, as I used to program C++ for my day job for almost five years, it is not the solution. Frustration just shifts from some problem areas to others, and memory management is not really better.

Currently, I don't see any easy solution for a project like SVN. The available programming languages are either bloaty and not easily embeddable (java), not portable enough (C# / .NET), or not widespread enough (Haskell).

The only languages that would fulfill most prerequisites nowadays have the drawback of being dynamic languages like Python or Ruby which have their own deficiencies.

(At least, with Python, we could do a step-by-step replacement, beginning with the upper layers, but I'm not sure whether the benefits outweigh the drawbacks - it is less easily embeddable in C-based environments, and dynamic languages are per se suboptimal for guaranteeing stable interfaces. On the other hand, running it with Jython and IronPython could reduce the need for SVNKit and SharpSVN - Hi, Bert! :-) )

Let's hope that languages which are safe, statically typed, and compiled to native code (like Rust and Go) start to catch up, that might be a bandwagon worth to jump on for SVN 2.0 :-)

Best regards

Markus Schaber

CODESYS(r) a trademark of 3S-Smart Software Solutions GmbH

Inspiring Automation Solutions

3S-Smart Software Solutions GmbH
Dipl.-Inf. Markus Schaber | Product Development Core Technology
Memminger Str. 151 | 87439 Kempten | Germany
Tel. +49-831-54031-979 | Fax +49-831-54031-50

E-Mail: m.schaber@codesys.com | Web: http://www.codesys.com | CODESYS store: http://store.codesys.com
CODESYS forum: http://forum.codesys.com

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915
Received on 2013-06-03 07:53:48 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.