X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=QO0TISEtlTRIiiFJr9yO2WJmSRZXDthqi8OFOuJtzM4=; b=plaTyxBEZXStwHhqHQ9DCx+YJTpks4gRhDFtqKwoL4VAyrXdn4r9TDvvE61Q7Fs7qX RMgxnl/sYG8bwksbL8/1Mtmt/nf32xyjrKQ515IApYKz88O76Lg36rb+vvxZsShpBC+F 4tcS/mn0vp2VkoZL9pByPx7axfE31zZE263ErRmVR8lRmRlpdnHr969OPSh+a+j62IVS CudIXAEMKMnPLknhxHdFEVbGH3LR24PdYiCG4XD9bc6kFH/bDMPjjFJ0c0NHmiaK4D5x imPhz2LjuVTAsRCvVg4JpLvsC/emb8wBKjiC0s/vMux2OYnG7goOeKgsutiKSH/S6Ae7 x8aA== X-Received: by 10.194.79.37 with SMTP id g5mr6840678wjx.89.1452069780456; Wed, 06 Jan 2016 00:43:00 -0800 (PST) Date: Wed, 6 Jan 2016 09:42:54 +0100 From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] A fileformat library Message-Id: <20160106094254.36b962ab700583cf4aa44716@gmail.com> In-Reply-To: References: <1512221837 DOT AA25291 AT ivan DOT Harhan DOT ORG> <0FCF3774-F93C-4BFF-BB61-636F75DCCACB AT noqsi DOT com> <20160105182120 DOT 3237F809D79B AT turkos DOT aspodata DOT se> X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > > other respect binary is better. > > > > I counter that. > > . you have to check a binary file for valid values just as you do for a > > text file > > . if your binary file is in some way invalid, you will have a greater > > problem correcting it than a text file > > . discussing why a file is invalid is easier with a text file > > . a binary file might be smaller, but that does not matter much > > . text files are better provided for by version systems (e.g. git) > > . it is easier to write tools that write text than binary, because > > debugging the output is easier > > > > Regarding vcs of text data files for GUI program, it's a stretch to claim > that the fact that they're text makes them much more compatible. The diffs > are only useful for the most trivial of cases. For it to be really useful > you need a (non-text) diff viewer of some sort. Two diffs might work better: netlist for topology and symbol values. > ... > A little while back a PhD Stefan Salewski put together a very good start on > a very nice router. IIRC he said 300-400 hours of effort, probably about > $100k worth with overhead in the american market. It's not C (for good > reasons) and currently can't talk to pcb at all. I would like to somehow > arrange things such than efforts like this could maybe get used. Would it be possible to write it down somewhere? Maybe on the wishlist so others know about it?