Mercurial Hosting > luan
diff website/src/diff.html.luan @ 1814:0ead5c6b07b0
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 11 Jun 2024 11:32:36 -0600 |
parents | fa0e73119b7c |
children | 50e570b598b2 |
line wrap: on
line diff
--- a/website/src/diff.html.luan Mon Jun 10 23:19:40 2024 -0600 +++ b/website/src/diff.html.luan Tue Jun 11 11:32:36 2024 -0600 @@ -39,7 +39,7 @@ <p>The Luan <em>table</em> type is just like its Lua equivalent, but implemented in Java.</p> -<p>Luan does not have the Lua <em>thread</em> type which aren't actually threads but in fact are coroutines. Luan has real threads. This is particularly valuable for web serving where each request is handled by a thread. But thread synchronization is too complicated for application programmers. So Luan makes objects (tables) immutable when they become accessible by multiple threads. This eliminates the need for thread synchronization. If there is a need to share mutable state across threads, there are special thread-local functions for this.</p> +<p>Luan does not have the Lua <em>thread</em> type which aren't actually threads but in fact are coroutines. Luan has real threads. This is particularly valuable for web serving where each request is handled by a thread. But thread synchronization is too complicated for application programmers. So Luan makes mutable objects immutable when they become accessible by multiple threads. This eliminates the need for thread synchronization. If there is a need to share mutable state across threads, there are special functions for this.</p> <% end }