@ -0,0 +1,21 @@ | |||
MIT License | |||
Copyright (c) 2019 Macoy Madson | |||
Permission is hereby granted, free of charge, to any person obtaining a copy | |||
of this software and associated documentation files (the "Software"), to deal | |||
in the Software without restriction, including without limitation the rights | |||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |||
copies of the Software, and to permit persons to whom the Software is | |||
furnished to do so, subject to the following conditions: | |||
The above copyright notice and this permission notice shall be included in all | |||
copies or substantial portions of the Software. | |||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |||
SOFTWARE. |
@ -0,0 +1,34 @@ | |||
#+TITLE:Language Tests | |||
I test various language functionalities and usage experience. The test would be a pain in the ass in C, which is what I'm trying to beat. | |||
* The test | |||
- Write a command-line tool which takes several optional arguments | |||
- The tool creates and manipulates numeric data based on the arguments, then serializes the data to a file | |||
- The file should include several different fields and a string or something (i.e. not a perfect 4-byte float dump) | |||
- The tool can load from the file and manipulate that data | |||
* The languages | |||
** Zig | |||
** Carp | |||
** Steam Bank Common Lisp (SBCL) | |||
* Criteria | |||
** Features | |||
| Language | Has REPL | Has hot-reloading | Introspection | Compile-time code generation | | |||
|----------+----------+-------------------+---------------+------------------------------| | |||
| Zig | | | | | | |||
| Carp | | | | | | |||
| SBCL | Yes | | | | | |||
** Implementation | |||
| Language | My CLOC | Time to implement | Comments | | |||
|----------+---------+-------------------+----------| | |||
| | | | | | |||
** Maintainability/sustainability | |||
| Language | CLOC | Repo health | Comments | | |||
|----------+------+-------------+----------| | |||
| | | | | |