<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
<div>I am a very old professional programmer who was already active at the time when Unix was just born and we all did assembly only. I notice that the majority of this community mainly cares about polishing the Linux aspect of this system. This is a bit worrysome
because the ultimate purpose of programming is producing applications, and applications mostly target the world of Windows. Never forget that 80% of the world's desktop computers run Windows, 12% run MacOS and Linux a poor 1.5%. Linux is for nerds, not for
users. And limiting oneself to the world of Linux is like masturbating instead of producing children. I never forget that when one of us objected to John McCarthy that his solution of a given problem was not very elegant, he answered: "I leave elegance to
the tailors." Modula-3 did not become mainstream because it did not care enough about Windows and producing applications for the world at large, which -- like it or not (personally i think it's one of the worst software ever produced) -- depends on Windows
OSes. Sorry for that bit of out of context Linux vs. Windows knee-jerk philosophy.</div>
<div class="mb_sig"></div>
<blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
<p style="color: #AAAAAA; margin-top: 10px;">On 10/06/2019 08:57:39, Mika Nystrom <mika@alum.mit.edu> wrote:</p>
<div style="font-family:Arial,Helvetica,sans-serif">
<div dir="ltr">Hello out there in Modula-3 world,
<div><br>
</div>
<div>I have today integrated into the master branch of Critical Mass Modula-3 (CM3) a library to do coroutines (cooperative multitasking). The library is based on getcontext/setcontext and has necessitated very minor changes to the pthreads implementation
of Modula-3 threads (these changes were already added last year into the main line).</div>
<div><br>
</div>
<div>For information on how to use the library, consult the new interface Coroutine.i3</div>
<div><br>
</div>
<div><a href="https://github.com/modula3/cm3/blob/master/m3-libs/m3core/src/coroutine/Common/Coroutine.i3">https://github.com/modula3/cm3/blob/master/m3-libs/m3core/src/coroutine/Common/Coroutine.i3</a> <br>
</div>
<div><br>
</div>
<div>This is the first of hopefully numerous releases of Intel-developed Modula-3 software. Intel licenses the company's contributions under a "BSD-3-clause license", details of which are included in the distribution.</div>
<div><br>
</div>
<div>The build is for AMD64_LINUX only at the moment; on other targets, the coroutines should be disabled (with a dummy interface so code will still build portably, but not run).</div>
<div><br>
</div>
<div>I hope this doesn't break anything for other people (I know my importation of various Caltech code a while back did break Windows, sorry about that).</div>
<div><br>
</div>
<div>Further code coming from Intel would not be as low-level as this, but mainly software for various EDA-related tasks. There are also a number of similar libraries and programs from Caltech coming soon, as I find time to import them. Apologies in advance
for any churn!</div>
<div><br>
</div>
<div> Mika Nystrom</div>
<div> </div>
</div>
_______________________________________________ M3devel mailing list M3devel@elegosoft.com https://m3lists.elegosoft.com/mailman/listinfo/m3devel
</div>
</blockquote>
</div>
</body>
</html>