Re: python, then C++, or C++ from the start?

2007-06-01 Thread Andreas Rottmann
martin f krafft [EMAIL PROTECTED] writes: Dear colleagues, I am starting to write netconf [0], finally. Or rather, I would if I could settle on a language. If netconf is ever going to replace ifupdown, it would need to have a low footprint and few dependencies. This clearly suggests C/C++

Re: python, then C++, or C++ from the start?

2007-06-01 Thread martin f krafft
On 2007-05-31 08:13, Oleg Verych wrote: I like shell PITAs. At least it will start to run everywhere by `/bin/sh' (dash, busybox, bash, zsh, whatever :) How do you implement control sockets or listen on the netlink socket with shell? Do you want to tail 'ip monitor'? Even if, how do you do

Re: python, then C++, or C++ from the start?

2007-06-01 Thread Oleg Verych
On 2007-05-31 08:13, Oleg Verych wrote: I like shell PITAs. At least it will start to run everywhere by `/bin/sh' (dash, busybox, bash, zsh, whatever :) How do you implement control sockets or listen on the netlink socket with shell? Do you want to tail 'ip monitor'? Even if, how do you do

Re: python, then C++, or C++ from the start?

2007-05-31 Thread martin f krafft
also sprach Oleg Verych [EMAIL PROTECTED] [2007.05.31.0011 +0200]: Configuration of interfaces (hardware or software) is part of OS setup and proper operation. And this task must be solved on the principle basis, rather than jet-another-lang-flame. Once you have all kernel/network-interfaces

Re: python, then C++, or C++ from the start?

2007-05-31 Thread martin f krafft
also sprach Robert Collins [EMAIL PROTECTED] [2007.05.31.0021 +0200]: I think its entirely viable. boost::python is rather nice and should allow incremental migration. You could if you care start with a C++ wrapper using boost:python where all the guts are in python, and then its just a

Re: python, then C++, or C++ from the start?

2007-05-31 Thread Oleg Verych
On Thu, May 31, 2007 at 08:50:11AM +0200, martin f krafft wrote: [] The methods, which are the actual workers doing the configuring will most certainly be implemented in shell. Then call me ! I like shell PITAs. At least it will start to run everywhere by `/bin/sh' (dash, busybox, bash, zsh,

Re: python, then C++, or C++ from the start?

2007-05-31 Thread martin f krafft
also sprach Oleg Verych [EMAIL PROTECTED] [2007.05.31.1013 +0200]: Then call me ! Do you have a POSIX-compatible solution to the problem of setting variables inside while loops? See http://blog.madduck.net/geek/2006.05.29-shell-sucks -- Please do not send copies of list mail to me; I read the

Re: python, then C++, or C++ from the start?

2007-05-31 Thread Francesco P. Lovergine
On Wed, May 30, 2007 at 05:34:10PM +0200, martin f krafft wrote: But I am asking you still: can you think of anything to say against such an approach? Please don't flame languages or anything of that sort. The question is just: is it viable for a C++ coder with a Python proficiency to mockup a

Re: python, then C++, or C++ from the start?

2007-05-31 Thread Oleg Verych
* From: martin f krafft [EMAIL PROTECTED] * Date: Thu, 31 May 2007 10:37:54 +0200 * Organization: Debian GNU/Linux also sprach Oleg Verych [EMAIL PROTECTED] [2007.05.31.1013 +0200]: Then call me ! Do you have a POSIX-compatible solution to the problem of setting variables inside while loops?

python, then C++, or C++ from the start?

2007-05-30 Thread martin f krafft
Dear colleagues, I am starting to write netconf [0], finally. Or rather, I would if I could settle on a language. If netconf is ever going to replace ifupdown, it would need to have a low footprint and few dependencies. This clearly suggests C/C++ as the language of choice. 0.

Re: python, then C++, or C++ from the start?

2007-05-30 Thread Michael Alan Dorman
On Wed, 30 May 2007 17:34:10 +0200 martin f krafft [EMAIL PROTECTED] wrote: But I am asking you still: can you think of anything to say against such an approach? Please don't flame languages or anything of that sort. The question is just: is it viable for a C++ coder with a Python proficiency

Re: python, then C++, or C++ from the start?

2007-05-30 Thread Warren Turkal
On Wednesday 30 May 2007 09:34, martin f krafft wrote: But I am asking you still: can you think of anything to say against such an approach? Please don't flame languages or anything of that sort. The question is just: is it viable for a C++ coder with a Python proficiency to mockup a new

Re: python, then C++, or C++ from the start?

2007-05-30 Thread martin f krafft
also sprach Michael Alan Dorman [EMAIL PROTECTED] [2007.05.30.1816 +0200]: Planning to write the application twice seems to me to presume more time and continued enthusiasm than is perhaps realistic, especially since your plans seem fairly ambitious---having to slog through the last 10% of the

Re: python, then C++, or C++ from the start?

2007-05-30 Thread Robert Collins
On Wed, 2007-05-30 at 17:34 +0200, martin f krafft wrote: Dear colleagues, ... But I am asking you still: can you think of anything to say against such an approach? Please don't flame languages or anything of that sort. The question is just: is it viable for a C++ coder with a Python

Re: python, then C++, or C++ from the start?

2007-05-30 Thread Oleg Verych
But I am asking you still: can you think of anything to say against such an approach? Please don't flame languages or anything of that sort. The question is just: is it viable for a C++ coder with a Python proficiency to mockup a new application in Python first? Planning to write the