Updated Nimrod for C programmers (markdown)
This commit is contained in:
parent
581203105c
commit
2d6b9f7598
|
@ -13,11 +13,14 @@ http://nimrod-lang.org/manual.html
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr><th>Feature</th><th>C</th><th>Nimrod</th></tr>
|
<tr><th>Feature</th><th>C</th><th>Nimrod</th></tr>
|
||||||
<tr><td>Memory Management</td><td>Manual (not counting libraries)</td><td>Garbage-collected and manual</td></tr>
|
<tr><td>Memory Management</td><td>Manual (GC w/ libraries or obj-C)</td><td>Garbage-collected and manual</td></tr>
|
||||||
<tr><td>Types</td><td>Static</td><td>Static</td></tr>
|
<tr><td>Types</td><td>Static</td><td>Static</td></tr>
|
||||||
<tr><td>Compilation</td><td>Machine code</td><td>Machine code via C <br>(other backends in progress/planned)</td></tr>
|
<tr><td>Compilation</td><td>Machine code</td><td>Machine code via C <br>(other backends in progress/planned)</td></tr>
|
||||||
<tr><td>Meta-programming</td><td>C Preprocessor</td><td>Nimrod (const/when/template/macro)</td></tr>
|
<tr><td>Meta-programming</td><td>C Preprocessor</td><td>Nimrod (const/when/template/macro)</td></tr>
|
||||||
<tr><td> </td><td> </td><td> </td></tr>
|
<tr><td>Type inference</td><td>No (some w/ C++11)</td><td>Yes (extensive support)</td></tr>
|
||||||
|
<tr><td>Closures</td><td>No (Yes w/ obj-C or C++11)</td><td>Yes</td></tr>
|
||||||
|
<tr><td>Operator Overloading</td><td>No (Yes w/ C++)</td><td>Yes</td></tr>
|
||||||
|
<tr><td>Custom Operators</td><td>No</td><td>Yes</td></tr>
|
||||||
</table>
|
</table>
|
||||||
### Structs - Tuples and Objects
|
### Structs - Tuples and Objects
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue