boru` has joined #forth
boru has quit [Disconnected by services]
boru` is now known as boru
<Zarutian_HTC> saw recently a Forth that had 'strong typing', called play something, anyone here know anything about that?
nmz has quit [Ping timeout: 272 seconds]
nmz has joined #forth
proteusguy has quit [Ping timeout: 265 seconds]
proteusguy has joined #forth
hosewiejacke has joined #forth
sts-q has quit [Ping timeout: 264 seconds]
<Zarutian_HTC> yeah
sts-q has joined #forth
<Zarutian_HTC> and it is written in elm, which looks like some function programming language
<crc> Yes, written in elm, compiled to JavaScript, generates webassembly
* crc has this bookmarked to look at after the developer begins implementing his standard library of words
lispmacs has joined #forth
proteusguy has quit [Read error: Connection timed out]
Gromboli has quit [Read error: Connection reset by peer]
proteusguy has joined #forth
hosewiejacke has quit [Ping timeout: 272 seconds]
proteusguy has quit [Ping timeout: 240 seconds]
proteusguy has joined #forth
_whitelogger has joined #forth
_whitelogger has joined #forth
gravicappa has joined #forth
_whitelogger has joined #forth
xek_ has joined #forth
iyzsong has quit [Quit: ZNC 1.7.5 - https://znc.in]
iyzsong has joined #forth
<veltas> Real risk of it turning out the standard library is impossible to implement with strong typing :P
xek_ has quit [Ping timeout: 265 seconds]
proteusguy has quit [Ping timeout: 260 seconds]
proteusguy has joined #forth
proteus-guy has joined #forth
proteusguy has quit [Read error: Connection reset by peer]
hosewiejacke has joined #forth
gravicappa has quit [Ping timeout: 256 seconds]
dave0 has joined #forth
dime has joined #forth
dime has quit [Client Quit]
dave0 has quit [Read error: Connection reset by peer]
gravicappa has joined #forth
<veltas> "It's more important to conform, than to do it the best way you can" -- this is a statement I agree with sometimes, and sometimes I don't. It depends on context.
<veltas> I think sometimes though it does feel like I am more on the "do it the best way you can" side than most people
<veltas> Like the decision about whether to use C or one of the many other able embedded programming languages, do you conform to C or use something better?
<hosewiejacke> I don't think there are that many other embedded programming languages ;)
<veltas> There are a lot actually, that can sometimes be better than C, it depends
<hosewiejacke> Would you mind giving an example? Asm, C and Forth are the only ones I can think of.
<veltas> What's the c-killer everyone's always banging on about on hackernews?
<veltas> It's not nim or rust I think... or is it?
<veltas> Forth is an alternative to C, which you mentioned
<veltas> People use embedded versions of Python and Lua
<hosewiejacke> Oh yeah. Totaly forgot about these. I'm not that much on HN anymore.
<veltas> hosewiejacke: zig
<veltas> Look up zig I like it, not that I've used it
<veltas> The only alternative language I've given any attention is Forth, and it's because Forth is interesting even if you don't get to use it for anything practical
<veltas> And I don't think I can convince anyone at work to use any alternative to C
proteus-guy has quit [Ping timeout: 260 seconds]
<veltas> From nim website: "Modern concepts like zero-overhead iterators and compile-time evaluation of user-defined functions"
* veltas laughs in forth
proteus-guy has joined #forth
hosewiejacke has quit [Ping timeout: 256 seconds]
hosewiejacke has joined #forth
gravicappa has quit [Ping timeout: 260 seconds]
gravicappa has joined #forth
proteus-guy has quit [Ping timeout: 260 seconds]
hosewiejacke has quit [Remote host closed the connection]
hosewiejacke has joined #forth
proteus-guy has joined #forth
proteus-guy has quit [Ping timeout: 264 seconds]
Zarutian_HTC has quit [Remote host closed the connection]
gravicappa has quit [Ping timeout: 256 seconds]
gravicappa has joined #forth
WickedShell has joined #forth
lispmacs has quit [Quit: must reboot... see you on the other side]
<siraben> hosewiejacke: there's Zig
<siraben> veltas: ^
<siraben> oops. someone already replied :p
<siraben> C is very stable, has been proven in production, has a lot of tooling at this point for everything from memory safety to model/SMT checking, separation logic, static analysis and so on
<siraben> Would be a lot of work to bring that to Zig
<siraben> Even a formally verified C compiler exists, heh https://compcert.org/
Gromboli has joined #forth
lispmacs has joined #forth
<hosewiejacke> siraben: thanks. Yes, C has a lot of tooling; but no namespaces :p
<veltas> I work in a role where the code matters and does a crucial job and we don't have any standards for verifying stuff, we use C out of general paranoia. It's well-founded paranoia to use something that's at least conventional and bullet proof in production, but it's not exactly as formal in all of embedded as your post implies
<veltas> THere are lots of people in embedded who have flexibility to try this stuff out, the question is more about whether managers want to put their reputations/&c. on the line
<veltas> And I respect e.g. my company's use of C, it makes perfect sense and C is completely fine.
<hosewiejacke> I once asked a guy from automotive field what PL they use and he said (something along the lines): C, because it has to be compilable 20 years from now.
<hosewiejacke> I wonder if that would be the case for Rust or Zig...
<veltas> Before I worked in industry I assumed that everyone doing embedded on e.g. automation grade computers uses misra etc, I now know that very few people use stuff like that, mostly where it 'matters'.
<veltas> Also I realise Misra has a bunch of dumb rules that probably makes it harder to write safe code, if you want safe code your process needs to be smarter than "use misra" or "use cert"
xek_ has joined #forth
hosewiejacke has quit [Quit: Leaving]
gravicappa has quit [Ping timeout: 240 seconds]
spoofer has quit [Read error: Connection reset by peer]
spoofer has joined #forth
<MrMobius> there was a funny thing where they looked at the rate of bugs in one thing then looked at what happened in misra projects and it looked like it didnt actually eliminate many bugs
<MrMobius> but maybe the two measures arent exactly equivalent
tabemann has quit [Ping timeout: 272 seconds]
tabemann has joined #forth
wineroots has quit [Remote host closed the connection]
actuallybatman has quit [Ping timeout: 265 seconds]
xek_ has quit [Ping timeout: 246 seconds]