18

I have written some c++ (c++11) code, that in my opinion greatly simplifies writing LibraryLink code: automatic and templatized export/import of MTensor of any rank an type to (possibly nested) STL containers, iostream-like argument extraction (see the github page, function coalesce for a demo). With some polishing and documentation, I think it's something that might be handy to many.

Is stackexchange a good place to let this slip? Would that be regarded as spam?

  • 2
    There is a blog ... mathematica.blogoverflow.com/archive ... you may want to write an entry – Dr. belisarius Dec 17 '13 at 17:22
  • Interesting... but I guess I'd have to submit my writing to someone? – Lorenzo Pistone Dec 17 '13 at 18:07
  • Just enter chat chat.stackexchange.com and leave a message for a mod – Dr. belisarius Dec 17 '13 at 19:25
  • Yes, that would be a good blog post. And our blog neeeds some love right now:) – Ajasja Dec 18 '13 at 16:29
  • 2
    You can also post a fitting question and self-answer. There are several excellent examples of that around, e.g. mathematica.stackexchange.com/q/24556/131 – Yves Klett Dec 18 '13 at 19:54
  • ok... probably a FAQ like question is best. I will tidy up the documentation and post. Or if you think that a blog entry is best, just let me know. – Lorenzo Pistone Dec 18 '13 at 20:47
  • 2
    FAQ sounds a bit fuzzy... Specific Q&As are usually well received. Good tidyings ;-) – Yves Klett Dec 18 '13 at 21:09
  • Any updates maybe? – Jacob Akkerboom Jan 6 '14 at 20:00
  • Sorry, I didn't forget this but holidays plus other projects have pushed that back a little. – Lorenzo Pistone Jan 7 '14 at 11:09
  • No, I don't think this is the best place to share it. It would be better to also post it here, and you might consider Wolfram Community additionally. You could also write a Q/A on the main site, something like "How can I simplify writing LibraryLink code?" or similar, then self-answer. I don't regularly check meta and I didn't even know about this until someone showed me today. I was also working on something (quite different) with the very same goal: make it easier to write LibraryLink code. – Szabolcs Aug 3 '15 at 16:34
  • 1
    I wish Mathematica had something like CPAN / CRAN / CTAN for Perl/R/TeX, but dynamic and community maintained. The Wolfram Library Archive is slow, too bureaucratic, and there just isn't a lot of good stuff there. – Szabolcs Aug 3 '15 at 16:34
  • For future packages, consider posting to packagedata.net. I already added this one. – Szabolcs Sep 15 '15 at 12:36
  • Would you be open to migrating this to the main site and casting it as a self-answered question? Something along the lines of "How can I write LibraryLink code more easily?" or "How can I cut down on the boilerplate necessary for LibraryLink?". I could post my ow alternative solution as another possible answer. – Szabolcs Sep 29 '15 at 9:31
  • @Szabolcs I am not maintaining this anymore, so I don't think it's a good idea to post this library around. – Lorenzo Pistone Sep 29 '15 at 9:54

You must log in to answer this question.

Browse other questions tagged .