« first day (3579 days earlier)      last day (1352 days later) » 

2:41 AM
erlang so sexy..seems hidden gem
 
3:02 AM
WTF
https://www.codementor.io/blog/worst-languages-2019-6mvbfg3w9x
 
 
3 hours later…
5:44 AM
@ProblemSlover how is C on there but not C++
 
6:16 AM
@TelKitty I never had any humor.
@Mikhail Sorry, but AFAIK, we aren't doing any image analysis.
 
 
3 hours later…
9:11 AM
Wish I'd found this earlier: youtube.com/watch?v=hHeq-SB8uVg
It explains (probably the basics of) Newton's method
 
10:05 AM
Wait...
Is there a single "sane" person out there that 100% codes in Assembly for an entire project?
 
user7659542
@Lapys whatsup?
 
nwp
Are you baiting us into saying that using pure assembly for a whole project is insane? :P
 
user7659542
@nwp It is. Working on a 100% asm project atm.
 
10:27 AM
If you are using interpreted language, such as C++, your code is compiled into assembly anyways.
2
 
user7659542
10:43 AM
@TelKitty yhea right, so just write everything in assembly from the start. Your code will end up in asm anyways.
 
@traducerad Lol, that's usually the defense for using higher-level languages :P
@traducerad That's because you're getting paid, right?
 
user7659542
@Lapys paid in love and kindeness
 
user7659542
and free coffee
 
nwp
You should get a new job.
 
user7659542
or more free coffee
 
10:55 AM
 
user7659542
@Lapys thx m8, appreci8. Tastes gr8. R8 8/8
 
What kind of project could you really be working on, @traducerad 🤔?
 
user7659542
timing critical project
 
Speed seems to be the only reason I can think of for coding Assembly directly..
 
timing != speed
 
11:01 AM
Alright, speed & timing are the only reasons ⏱️
 
nwp
Not having a working compiler is also pretty convincing.
Or when you use hardware that C is not suitable for, like FPGAs.
 
user7659542
the c library's overhead does not allow to reach certain timing constraints
 
user7659542
so asm was chosen
 
nwp
It would have probably been smarter to work on removing the overhead.
 
"choice" lol.
 
user7659542
11:04 AM
@nwp eg rewriting glibc you mean?
 
nwp
Why would glibc have overhead when you don't use it?
But yes, there are multiple C standard libraries available. Use another one if glibc somehow doesn't do what you want.
 
user7659542
anyways, I was not there when this choice was made a very long time ago.
 
user7659542
I know timing constraints were the reason they chose asm
 
nwp
And why rewriting? Just change the parts that are too slow.
 
user7659542
@nwp do people really do that?
 
user7659542
11:06 AM
have never been down that road
 
user7659542
I write drivers and stuff and just use glibc if its available. Never read what is inside of it.
 
nwp
I don't know. It's the obvious solution. Though it seems more realistic to just write your own functions that use some special feature that glibc doesn't know about instead of screwing with the standard library.
 
user7659542
Not sure I d be able to do better than what is done by glibc myself
 
what types of drivers you work on? printers, custom hardware? which OSes?
 
user7659542
@ABuckau depends: custom hardware usually, with and without OS
 
11:18 AM
nice. not to be pedantic, but isnt part of the definition of 'driver' related to interoperating with an OS? ie. firmware vs driver. ?
 
user7659542
Not necessarily
 
user7659542
if you have no OS, your driver does not interoperate with an OS
 
user7659542
you can have an application running on a microcontroller without OS), which uses a bunch of drivers.
 
user7659542
terminology tends to vary from one company to another though
 
user7659542
to me a driver, is a piece of code which drives hardware and eventually allows to interface with an external piece of hardware. Therefor OS or no OS, it statys a driver IMO. Firmware is just a generic term, to me, to describe software which runs on a microcontroller.
 
11:26 AM
it might be a stretch to call that application an OS, but Im tempted :p
agree. not worth discussing really.
im currently waiting for some relays to arrive so i can make ...a hvac system, basically. not even close to the same thing, but is still 'cool' to me.
 
11:41 AM
mm..more like environmental control :D church it up a little bit.
 
nwp
@traducerad So ... you can't to better, yet are required to do better?
 
 
1 hour later…
user7659542
12:48 PM
@nwp I can't be better in C no
 
user7659542
large part of the current asm code already exists
 
user7659542
I am just adding stuff to it
 
4:03 PM
For the first time I've written code that I can't completely refactor
So happy 😃
Bruh, I wrote GOOD code.
I'mma hella trying to refactor this thing but I can't! I really just can't..
Someone slap me out of this delusion
 
@Lapys Reread this 6 months from now and you'll feel the cringe.
:P
 
4:19 PM
Lmao, most likely :'D
 
4:43 PM
@Lapys You can always refactor code
Unless it's so boreken entwined spaghetti that changing anything breaks everything x)
 
 
3 hours later…
8:00 PM
broken entwined spaghetti
 
8:17 PM
Whhaaaaat even
 
 
2 hours later…
10:30 PM
 

« first day (3579 days earlier)      last day (1352 days later) »