|
From: | Felipe Castro |
Subject: | Re: [libredwg] LibreDWG architectural changes |
Date: | Tue, 9 Dec 2014 09:20:48 -0200 |
LibreDWG reads file and stores that into memory. When this data is read by some CAD software, it is then again allocated into CAD program's document memory. This basically is a wastage of memory or can be said as we are keeping same data at two places.
It was also pointed by Rallaz ( a developer of LibreCAD and also developed LibDXFrw ).
I think we should change the library so as to directly send data to library functions instead of first storing it in memory and then accessing and keeping it in seperate memory location.
Looking over python support, I think we should deprecate the old swig link and find some better way for binding to python. The new API also needs python bindings too.
Also thinking to totally remove the write support. What say ?
Further I want to ask is it necessary to remaim in C ? Can't we move towards C++ ? IIRC the GNU coding standards have changed and its not necassary to use C anymore( please correct me if wrong).
[Prev in Thread] | Current Thread | [Next in Thread] |