!SGkzNqBXEJutSYnahE:matrix.org

C Programming Language

668 Members
C Programming Ask C related questions here.58 Servers

Load older messages


SenderMessageTime
15 Jun 2024
@kosshi:interlaced-insanity.comkosshi
In reply to @leg7:matrix.org
I have never done this but if I had to I would read the arduino manual
googling and hacking shit togheter gets you there 99% of the time for 1% of the overall effort
19:10:03
@kosshi:interlaced-insanity.comkosshi
In reply to @leg7:matrix.org
I have never done this but if I had to I would read the arduino manual
* hacking shit together from stackoverflow gets you there 99% of the time for 1% of the overall effort
19:10:18
@curid:matrix.orgCuriddepends if the goal is barely working shit19:33:13
@kosshi:interlaced-insanity.comkosshii've built whole game engines this way with vulkan19:45:02
@kosshi:interlaced-insanity.comkosshitho there the limits of amateurism did become apparent, more advanced synchronization has zero good resources to learn from, you muts read the spec or a book or such to understand it ..19:45:46
@kosshi:interlaced-insanity.comkosshi * tho there the limits of amateurism did become apparent, more advanced synchronization has zero good resources to learn from, you must read the spec or a book or such to understand it ..19:45:56
@kosshi:interlaced-insanity.comkosshi * i've built whole vulkan game engines this way 19:47:41
@kosshi:interlaced-insanity.comkosshiyou can figure out anything just from examples and sparingly reading the manual where need be, a lot of apis you just cannot figure out how to use without an example, barely anything has sort of "how it's intended to be used" documentation (that isn't just a raw code example)19:50:37
@kosshi:interlaced-insanity.comkosshi * you can figure out anything just from examples and sparingly reading the manual where need be, a lot of apis you just cannot figure out how to use without an example, and barely anything has sort of "how it's intended to be used" documentation (that isn't just a raw code example)19:51:38
@kosshi:interlaced-insanity.comkosshisomething as simple as linux sockets, how are you supposed to piece togheter the 200 different man pages to figure out how to send an ipv6 ping packet, with zero prior knowledge of sockets? you realistically just can't19:53:32
@kosshi:interlaced-insanity.comkosshithe only way is to steal a close-enough example and edit it to do what you need19:55:14
@curid:matrix.orgCurid
In reply to @kosshi:interlaced-insanity.com
the only way is to steal a close-enough example and edit it to do what you need
you use a library with a higher-level api that's easier to use
19:57:33
@kosshi:interlaced-insanity.comkosshiin my case i wanted to get down to crafting ip packets myself so that's not something i could do19:58:41
@kosshi:interlaced-insanity.comkosshi * in this case i wanted to get down to crafting ip packets myself so that's not something i could do19:58:46
@twkmhnnomn:matrix.orgthose who know me have no need of my namehmm, steal.20:17:10
16 Jun 2024
@leg7:matrix.orgleg7For me, just reading and copying examples doesn't give me the conceptual knowledge I'm looking for. I almost always want to know why and how things work07:32:14
@leg7:matrix.orgleg7The code itself is quite disposable07:32:44
@kosshi:interlaced-insanity.comkosshithe kind of big picture architecture documentation doesn't usually exist.. 08:16:04
@thiagodavidsantos:matrix.orgzumbi changed their display name from Thiago David Santos to zumbi.09:26:23
@leg7:matrix.orgleg7https://docs.arduino.cc/14:51:47
@leg7:matrix.orgleg7This doesn't cover it?14:51:55
@gshxbxn:matrix.org@gshxbxn:matrix.org left the room.17:42:29
@g1101p:matrix.orgbitrun changed their display name from bit_runner to bitrun.18:13:13
@g1101p:matrix.orgbitrun changed their profile picture.18:13:15
17 Jun 2024
@ichbindaza:matrix.orgDazawassa joined the room.16:58:34
@sicelo:matrix.orgsicelo
In reply to @librehosseini:matrix.org
Hello people,
i want to write a software in C to connect to Arduino with Serial and send data to it, how can i do that ?
thanks :)
does Clang or gcc have a library for that?
might be wrong, but i think there's libsoc, that could do what you want.
18:35:29
@sicelo:matrix.orgsiceloah, misread the question 18:36:18
18 Jun 2024
@memefi:matrix.orgwar joined the room.14:13:48
@librehosseini:matrix.orgMahdi Hosseini
In reply to @sicelo:matrix.org
might be wrong, but i think there's libsoc, that could do what you want.
maybe, thanks :)
15:46:35
19 Jun 2024
@memefi:matrix.orgwar changed their display name from memefi to war.05:25:43

There are no newer messages yet.


Back to Room ListRoom Version: 4