Re:Voc: a physical model of the vocal tract, written in ANSI C
by Sean1708 on Tuesday June 13, 2017 @08:41AM
(#14544305)
Slightly off-topic sorry, but why ANSI C and not C99 (or C11)? Is it common to come across systems where C99 isn't supported, or are there reasons why you prefer C89 to C99?
Re:Voc: a physical model of the vocal tract, written in ANSI C
by zebproj on Tuesday June 13, 2017 @07:15PM
(#14549481)
There aren't any real reasons I have for choosing C89 over C99. Both tend to be very portable, which is very nice if you aren't sure what operating system you are running on (if any, in many situations). I still write many programs using the "-std=c99" flag, but I never find myself in dire need of the extensions, basically honorary ANSI C. For projects like this that just do numerical processing, C89 C really isn't that much more of a hassle.
Re:Voc: a physical model of the vocal tract, written in ANSI C
by jarmitage on Tuesday June 13, 2017 @05:52AM
(#14543768)
I think you probably made a good choice, since our fork of the original was worked on very quickly to get a basic demo going :)
Re:Voc: a physical model of the vocal tract, written in ANSI C
by zebproj on Tuesday June 13, 2017 @07:19PM
(#14549511)
Ha. Your README was very honest at the time :)
It was very encouraging for me to see some ports to C/C++ already in progress. At the time, it was definitely an overwhelming notion. That chunk of JS code looked impenetrable to me.
I was going to actually fork off your project, but decided it would be cleaner/faster to do it off the original code since I wanted to write it in ANSI C.