Re: Computer Vision Library in D
On 20/04/2016 7:46 PM, Relja Ljubobratovic wrote: On Wednesday, 20 April 2016 at 06:14:58 UTC, rikki cattermole wrote: I was thinking std.math.linalg kinda seems like the right place once std.math is split up. There is an isolated one other than gfm.math. gl3n but I don't have permission to relicense to Boost. Its mostly ready unfortunately. I agree it sounds nice to have linalg package in the standard library. Although I'm still not sure about it - I've never seen such package in any other language's standard library. I'm not saying it's not right, just a bit strange to me. I only need matrices and vectors in Phobos. Whey do I want them? Simple. I want windowing in Phobos. Which just so happens to have contexts such as OpenGL, Vulkan and DirectX. Why does that matter? window.size * projMatrix is why. Making things just work without extra work. And yes, Java does have a definition in its standard lib for Point which is what I need. Its just better to unify instead of separating it out.
Re: Blog post: PGO: Optimizing D's virtual calls
Am Fri, 15 Apr 2016 09:04:21 + schrieb Johan Engelen: > On Wednesday, 13 April 2016 at 11:34:26 UTC, Johan Engelen wrote: > > Hi all, > > I've written an article about how I implemented > > profile-guided optimization (PGO) of virtual calls to direct > > calls (a micro-micro-optimization, expected performance gain of > > just a few percent if any!). > > I've updated the article with performance measurements of just > the D code of LDC: the improvement with PGO is about 7% ! Compilers are full of logic that makes some code 0.5% faster. The sum of all these little bits is what makes up an optimizing compiler and if today you still find an optimization that's worth 1 or 2% you have a jackpot! 7% is quite a bit more than any other option like -cpu=native could achieve. If feasible I'd enjoy if ldc2 shipped with a pgo configuration option. If you use the compiler in a lot of edit/compile cycles it will pay off. -- Marco
Re: IDE - Coedit 2, update 4 released
On Wednesday, 20 April 2016 at 09:47:53 UTC, growlercab wrote: On Wednesday, 20 April 2016 at 09:09:44 UTC, Basile Burg wrote: This is an unfortunate hotfix release, see https://github.com/BBasile/Coedit/releases/tag/2_update_4 With the hope it's the latest version 2 update. This is a great D IDE that is getting better all the time, thanks! Thanks to you, now I'm lost ;) http://imgur.com/6EW3hEH
Re: Computer Vision Library in D
On Wednesday, 20 April 2016 at 19:53:27 UTC, Jacob Carlborg wrote: On 2016-04-20 06:31, Relja Ljubobratovic wrote: I've given this a lot of thought. I use OpenCV daily on the job, and I'm very familiar with it. I too believe it would probably be smarter, faster and safer to wrap its C interface with D, from the user's point of view. https://github.com/jacob-carlborg/dstep Is it even safe to depend on currently unmaintained C interface? http://answers.opencv.org/question/17546/opencv-will-drop-c-api-support-soon/
Re: Computer Vision Library in D
On 2016-04-20 06:31, Relja Ljubobratovic wrote: I've given this a lot of thought. I use OpenCV daily on the job, and I'm very familiar with it. I too believe it would probably be smarter, faster and safer to wrap its C interface with D, from the user's point of view. https://github.com/jacob-carlborg/dstep -- /Jacob Carlborg
Re: Using D in Debian to build AppStream metadata.
On Sunday, 17 April 2016 at 11:10:29 UTC, Antonio Corbi wrote: Hello, Just read this post from Matthias Klumpp (http://blog.tenstral.net/2016/04/introducing-appstream-generator.html) in planet.debian.net where he talks about replacing the current appstream metadata generator written in python (dep11-generator). He talks about considering Go, Rust and D for this task, and why He finally chose D. It's very short and very enlightening, worth a reading! Hope you like it! Sorry if this has been posted before. Antonio From the blog post: "And while I never intended to write the new generator in D (I was pretty fixated on Go…), this is what happened. The strong points for D for this particular project were its close relation to C (and ease of using existing C code), its super-flat learning curve for someone who knows and likes C and C++ and its pretty powerful implementations of the concurrent and parallel programming paradigms." That's pretty cool - and interesting.
Re: Computer Vision Library in D
On Wednesday, 20 April 2016 at 07:43:01 UTC, Relja Ljubobratovic wrote: Sound great! Although I'm far from implementing methods that use optimization techniques for dcv, I'll be sure to remember this. Maybe you should push the solution to github and have other people take a look? hopefully at the weekend. I want to tidy up first...
Re: IDE - Coedit 2, update 4 released
On Wednesday, 20 April 2016 at 09:09:44 UTC, Basile Burg wrote: This is an unfortunate hotfix release, see https://github.com/BBasile/Coedit/releases/tag/2_update_4 With the hope it's the latest version 2 update. This is a great D IDE that is getting better all the time, thanks!
IDE - Coedit 2, update 4 released
This is an unfortunate hotfix release, see https://github.com/BBasile/Coedit/releases/tag/2_update_4 With the hope it's the latest version 2 update.