tag:blogger.com,1999:blog-2744072865491516720.post8961789776228184357..comments2023-05-03T06:35:33.259-04:00Comments on Higher Logics: Coroutines in CSandro Magihttp://www.blogger.com/profile/05446177882449578817noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-2744072865491516720.post-6940141109797260612012-02-24T11:09:06.808-05:002012-02-24T11:09:06.808-05:00If I still had time to work on it, I'd probabl...If I still had time to work on it, I'd probably implement something like Apple's Grand Central Dispatch.Sandro Magihttps://www.blogger.com/profile/05446177882449578817noreply@blogger.comtag:blogger.com,1999:blog-2744072865491516720.post-12484648482295382502012-02-24T08:04:26.384-05:002012-02-24T08:04:26.384-05:00Nice post. I'm curious how you would use multi...Nice post. I'm curious how you would use multiple cores (in your todo list) as you are using stack copying technique.bodhihttps://www.blogger.com/profile/07356456923619953588noreply@blogger.comtag:blogger.com,1999:blog-2744072865491516720.post-49785702853645229172008-07-18T21:12:00.000-04:002008-07-18T21:12:00.000-04:00Oh, no, I personally don't think it's an issue at ...Oh, no, I personally don't think it's an issue at all.Aaron Denneyhttps://www.blogger.com/profile/15613957348593645695noreply@blogger.comtag:blogger.com,1999:blog-2744072865491516720.post-44644460527020667022008-07-18T17:52:00.000-04:002008-07-18T17:52:00.000-04:00Thanks for the overview Aaron. The libconcurrency ...Thanks for the overview Aaron. The libconcurrency build files are already set up to generate a dll, so I don't see this requirement as all that onerous. Do you or others really think it is?<BR/><BR/>I will take these additional restrictions under advisement though.Sandro Magihttps://www.blogger.com/profile/05446177882449578817noreply@blogger.comtag:blogger.com,1999:blog-2744072865491516720.post-77584151564212684032008-07-17T16:52:00.000-04:002008-07-17T16:52:00.000-04:00Sandro Magi: It's a bit stronger than that. Modif...Sandro Magi: It's a bit stronger than that. Modifications have to be made available, and you have to afford your users the opportunity to use other versions of the LGPL software with the software that's using it. Actually, it even specifies one of two ways that you must use to do this: providing object files so they can relink, or using it as a DLL so they can replace the DLL. <BR/><BR/>See, e.g. section 4.d in the LGPLv3.<BR/><BR/>d) Do one of the following:<BR/><BR/> * 0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.<BR/> * 1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version.<BR/><BR/>Early versions have substantially similar restrictions, though they may be worded a bit more confusinglyAaron Denneyhttps://www.blogger.com/profile/15613957348593645695noreply@blogger.comtag:blogger.com,1999:blog-2744072865491516720.post-39125595815940132332008-07-17T14:33:00.000-04:002008-07-17T14:33:00.000-04:00I don't believe that's an accurate assessment of t...I don't believe that's an accurate assessment of the LGPL requirements. The <A HREF="http://www.concord.org/license.html" REL="nofollow">LGPL requires only that any modifications</A> to libconcurrency code used in a distributed program be available under an LGPL-compatible license. It places no restrictions on how you link or include the code in your program. I think it's a fair compromise between the GPL and the MIT/BSD licenses.<BR/><BR/>I will probably make a dll available soon as well.Sandro Magihttps://www.blogger.com/profile/05446177882449578817noreply@blogger.comtag:blogger.com,1999:blog-2744072865491516720.post-12308586886150737862008-07-17T13:54:00.000-04:002008-07-17T13:54:00.000-04:00Not sure how strongly do you feel about your licen...Not sure how strongly do you feel about your licence choice. Any chance of changing the licence to MIT or BSD or public domain? LGPL is cumbersome when using in non-open-source applications since you have to put the code in a separate *.dll just to satisfy the license. MIT/BSD don't require that.kjkhttps://www.blogger.com/profile/15389425316089091355noreply@blogger.comtag:blogger.com,1999:blog-2744072865491516720.post-9476611017213474722008-07-17T09:18:00.000-04:002008-07-17T09:18:00.000-04:00I provide a comparison to existing libraries at th...I provide a comparison to existing libraries at the libconcurrency project page, including libCoroutine.Sandro Magihttps://www.blogger.com/profile/05446177882449578817noreply@blogger.comtag:blogger.com,1999:blog-2744072865491516720.post-33841492700504258292008-07-17T00:57:00.000-04:002008-07-17T00:57:00.000-04:00Have you looked at libcoroutine? It's by the guy w...Have you looked at <A HREF="http://www.dekorte.com/projects/opensource/libcoroutine/" REL="nofollow">libcoroutine</A>? It's by the guy who created Io. I haven't looked at it personally, but it sounds worth investigating if your looking for libraries for such things.Chrishttps://www.blogger.com/profile/03757202423483617172noreply@blogger.com