On June 23, 2011 03:57:32 AM kfj wrote:
> I can't prcisely recall where, but I remember people pointing out that
> some evolution on Windows' handling of DLLs has made the problem much
> less in the recent past.

Building a static version by default is just a cheap way to buy peace of mind.

There have been plenty of such "pointing out" and nothing has come out of it.

And there are constantly user complaints about "bugs" that are most likely DLL 
related - most recently the lack of Python DLL in the most recent Windows 
installer and some fast preview freezes tha are possibly the result of an 
outdated OpenGL DLL poisoning the system.

This is mainly a build and distribution issue, not a code issue.

It would take somebody on the Windows side of things that is really committed 
to fix such a dynamic build and the related installer, harden them, and keep 
them going.  Like Harry is admirably doing on the Mac side of things.

I recall seeing some advances toward dynamic library loading in the CMake 
build by Tom Sharpless, and I have good reason to believe that some of the 
coders out there who call Windows their platform do have a dynamic loading 
version of Hugin up and running.  But for whatever reason, they keep it for 
themselves.

A dynamic library loading Hugin for Windows will happen when one of these 
super-builders will take the initiative, update the SDK, polish the rough 
edges and make everything available, fully documented.  To be fair: it is not 
very rewarding work.


> minGW is supported by cmake, all the libraries
> we use are available as DLLs on Windows - if I was (still) a committed
> Windows user and developer, I'd give it a shot.

Patches welcome.  With consideration for unintended consequences, i.e. first 
add this as an additional option (disabled by default) to build Hugin;  then 
test it with a carefully crafted updated SDK.  Then an alternate installer 
(while keeping the current installer as default); and make it the default only 
when everything is robust and tested.

FYI there have been a few attempts to build with minGW and nobody has reported 
success in many years.

 
> > > Database-like backend to contain projects
> > 
> > what do you need a database for?
> 
> If you have ever used a project with, say, 50000 control points, or
> other large collections, you may have noticed that the code scales
> badly.

OK, I see.  The obvious candidate is in-memory SQLite.  Or were you thinking 
of another database engine?

The tabular representations of image list and cp list can be translated 
to/from in-memory SQLite tables from the existing pto.

Worth retaining the idea, maybe for a future GSoC project.


> > > simple, powerful, extensible, readable replacement for pto
> > 
> > if it ain't work, don't fix it
> 
> (giggle) - you mean if it's not BROKE don't fix it.

no no, I really meant what I wrote.  a replacement for pto ain't work, so 
don't even try fix it :-)

 
> still there's no reason not to come up with something new and nice
> which can coexist with the old one.

you are right.  there is no reason to stop anybody from wasting their time.

I am not against.  In fact, I love XML and would love to see a PTML format.  
But for now PTO does the job and I see no reason to replace it.  Feel free to 
show me otherwise.


> derived and centrally changed - sort of an 'on rails' concept.

ok, nice, so start with the SQLite backend, then dump some XML.  might even 
work.  and then?  


> > In the 2007 GSoC project Ippei did re-architecture the code.  Since then
> > it has been through more iteration.  Slowly but surely it is becoming
> > cleaner and more manageable, mostly thanks to Thomas and those who have
> > come before him and have had the courage to dwelve into the layers of
> > contributions.
> 
> admirable. big thumbs up.

and yet that re-architectured code base still gets criticized, amongst others 
by you.  it has certainly benefited the project, but the benefit is much less 
tangible than, for example, the addition of the fast preview or the 
modularization of the makefile library.


> Be all that as it may, I'm taking some time off again now.

where are you going to this time?  

Yuv

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to