« first day (557 days earlier)      last day (1937 days later) » 

00:00
@Dennis it's fixed, pull request re-instantiated.
00:25
@Οurous Done.
 
5 hours later…
05:42
@Dennis Could you look into adding MachineLang? On TIO you can just run wrapper.bash with the command-line arguments and it'll compile and run
Hello World (cheating) would be puts("Hello, World!");
@MDXF link 404s for me
@Οurous Oops. MachineCode (@Dennis also)
06:19
@MDXF I'm not brilliant at bash, but I think you want those backticks in the wrapper surrounded by double quotes so whitespace doesn't split it into multiple arguments.
Also, you might as well stick -march=native into the compiler flags.
 
4 hours later…
10:06
@Pavel What does -march=native do? Since googling for "-march=native", for some reason, brings up a deodorant company?
 
2 hours later…
11:50
@Οurous Compiles for your own architecture iirc
Yeah
search "march native gcc"
 
2 hours later…
13:28
@Pavel It doesn't hurt, but it's not that effective without optimizations turned on.
13:41
@MDXF I appreciate the intention to include a wrapper, but I won't be able to use it in its current form, as it requires cd-ing into the repo.
A wrapper that makes no assumptions about the CWD, hardcodes no filenames, reads from STDIN, and doesn't clobber any files when compiling could look like this.
#!/usr/bin/env bash

mcc="$(cd "$(dirname -- "$(readlink -e -- "$0")")"; pwd)/MachineCode"
src="$(mktemp ./tmpXXXXX.c)"
bin="$(mktemp ./tmpXXXXX)"

"$mcc" "$1" "$(cat)" "${@:2}" > "$src"
gcc -w -o "$bin" "$src"
"$bin"
That would be useful in general, not just for TIO.
 
2 hours later…
15:15
@Οurous Allows the compiler to make use of features available on your specific CPU architecture to run faster. Code compiled with -march=native will likely not run on any other computer with a different cpu.
Code compiled on TIO has no reason not to use it, since the binary can't be reused anywhere else and it doesn't really make compilation take long.
 
2 hours later…
17:13
@Dennis Could you pull Husk, please?
@Dennis Could you pull Add++ please?
When making an esolang are there things to do / avoid doing to help with getting on TIO on the unlikely chance of the language taking off?
Make it somewhat usable, and Dennis generally agrees to add the language
17:30
@jrtapsell Do make it run on Linux. Don't require graphics or network sockets. That's pretty much it.
Ah, so a container is not necessarily bad?
18:11
@jrtapsell What do you mean?
At the moment the language comes as a container that you pipe the code into, it runs it and outputs the output, I guess for TIO the overhead of spinning up a container would not be ideal, and a script would be a better option, as dependencies are shared with other languages
@jrtapsell Oh, like a docker container?
Prolly a bad idea.
19:15
@Zgarb Done.
@cairdcoinheringaahing Done.
@jrtapsell I'm not even sure if that would work inside the sandbox. I have no experience with containers, but if they require Unix sockets, I won't be able to use them.
 
1 hour later…
20:36
@Dennis Thanks!

« first day (557 days earlier)      last day (1937 days later) »