1594748428407693312, 1579667672144711680, 1576731875586224128, 1572626013452107778, 1568261818870800386, 1564616682219634714, 1561488791503720448, 1556471902473900032, 1740841191984488816, 1738688867681632596, 1741342049440612686, 1723970493307552093, 1726722109609804139, 1720480382905385130, 1711469313306284038, 1711389580018979139, 1708154192379216023, 1691290392204132353, 1696035115699445916, 1704472735219339585, 1675846329527062531
This commit is contained in:
1 parent
490238ce89
commit
6767719a1c
44 files changed
+1851
-40
No files matched your search
+49
@@ -0,0 +1,49 @@
|
||||
---
|
||||
title: "@rfleury @vkrajacic @simplex_fx I would trust a builtin solution 1000 times more than random libraries."
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/thembeddevguy/status/1711638711505395899"
|
||||
author: "The Developer Guy"
|
||||
handle: thembeddevguy
|
||||
post_id: "1711638711505395899"
|
||||
date: 2023-10-10
|
||||
archived: 2026-08-27
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- vkrajacic
|
||||
description: "@rfleury @vkrajacic @simplex_fx I would trust a builtin solution 1000 times more than random libraries."
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1711637670240174253"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/thembeddevguy/status/1711638711505395899
|
||||
- Author: The Developer Guy (@thembeddevguy)
|
||||
- Posted: 2023-10-10 07:04:04
|
||||
|
||||
## Branch
|
||||
|
||||
**1/** **@thembeddevguy** ^1711638711505395899
|
||||
|
||||
**@rfleury** **@vkrajacic** **@simplex_fx**
|
||||
|
||||
I would trust a builtin solution 1000 times more than random libraries. You can assume some quality control behind that, random dudes just can’t do the same as a group of official maintainers. That’s a lot of potential security issues.
|
||||
|
||||
**2/** **@vkrajacic** ^1711639280328606100
|
||||
|
||||
**@thembeddevguy** **@rfleury** **@simplex_fx**
|
||||
|
||||
It doesn't matter if it's builtin or 3rd party. If you know how to read code, you can make educated decision which on to use.
|
||||
|
||||
**3/** **@thembeddevguy** ^1711640387553571227
|
||||
|
||||
**@vkrajacic** **@rfleury** **@simplex_fx**
|
||||
|
||||
This is what I’m talking about: wasting time. I could just go build stuff, relying on known code and find 3rd party libs if something is fishy. Now I have to do code review a bunch of libs. No thanks, my focus is not on maintaining common stuff. I let maintainers do their job.
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/vkrajacic/2023-10-09-reasons-i-use-c]]
|
||||
@@ -0,0 +1,77 @@
|
||||
---
|
||||
title: "Reasons I use C:"
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/vkrajacic/status/1711389580018979139"
|
||||
author: "Vjekoslav Krajačić"
|
||||
handle: vkrajacic
|
||||
post_id: "1711389580018979139"
|
||||
date: 2023-10-09
|
||||
archived: 2026-08-27
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- vkrajacic
|
||||
description: "Reasons I use C:"
|
||||
in_reply_to: ""
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/vkrajacic/status/1711389580018979139
|
||||
- Author: Vjekoslav Krajačić (@vkrajacic)
|
||||
- Posted: 2023-10-09 14:34:06
|
||||
|
||||
## Thread
|
||||
|
||||
**1/** **@vkrajacic** ^1711389580018979139
|
||||
|
||||
Reasons I use C:
|
||||
- It's a small and simple language.
|
||||
- It's stable and changes infrequently.
|
||||
- It provides low-level, manual memory management.
|
||||
- I can see actual CPU instructions.
|
||||
- It has a decades-old development ecosystem.
|
||||
- It works everywhere.
|
||||
- It allows for direct interaction with major operating systems, which expose low-level APIs in C or C++.
|
||||
- I want my code to remain runnable 10-20 years from now.
|
||||
|
||||
Not the reasons I use C:
|
||||
- Because I believe it's perfect.
|
||||
- Because I'm a "fan" of it.
|
||||
- Because I think it has all the features I need.
|
||||
|
||||
I write in C because I believe it's still the best choice for developing native applications (not just embedded software). This conveys a lot about my sentiments towards other languages, including C++, C#, Rust etc.
|
||||
|
||||
New is not always better.
|
||||
|
||||
**2/** **@simplex_fx** ^1711416943935103027
|
||||
|
||||
**@vkrajacic**
|
||||
|
||||
however, you CAN write almost all the features not present in them, if needed :D
|
||||
|
||||
**3/** **@vkrajacic** ^1711456818164019443
|
||||
|
||||
Yes, I had to write a fair amount of "base" code, such as memory primitives, UTF-8 length-based strings, math, UI, etc. However, once you have these components in place, it's much better than using higher-level languages with numerous libraries that you might not fully comprehend.
|
||||
|
||||
**4/** **@thembeddevguy** ^1711468670860312694
|
||||
|
||||
**@vkrajacic** **@simplex_fx**
|
||||
|
||||
That’s the task of a standard library. It’s a shame and not a feature if all of these must be written. It’s not a must to include stdio or any standard lib and you can use your custom libs. That’s why I’m shifting to golang, really feels like the modern C we need so far.
|
||||
|
||||
**5/** **@rfleury** ^1711571034829476347
|
||||
|
||||
**@thembeddevguy** **@vkrajacic** **@simplex_fx**
|
||||
|
||||
The weird thing about this argument is that it somehow presupposes that a new language & toolchain was necessary for a new standard library. Neither are necessary. If you want a new standard library, make one. It doesn't need to be standardized at the programming language level.
|
||||
|
||||
**6/** **@thembeddevguy** ^1711637670240174253
|
||||
|
||||
**@rfleury** **@vkrajacic** **@simplex_fx**
|
||||
|
||||
A standard library for me always was a “here are super common tasks and no one shall “solve” that over and over again, here, have a reviewed and tested solution, go focus on the important parts” thing. Relying on 3rd party stuff is exactly the opposite of this.
|
||||
|
||||
Branches: [[archive/threads/vkrajacic/2023-10-09-reasons-i-use-c/2023-10-10-thembeddevguy-i-would-trust-a-builtin-solution-1000-times-more]]
|
||||
@@ -9,4 +9,5 @@ tags:
|
||||
- vkrajacic
|
||||
---
|
||||
|
||||
- [[archive/threads/vkrajacic/2023-10-09-reasons-i-use-c]]
|
||||
- [[archive/threads/vkrajacic/2024-01-23-c-macro-approach-to-using-optional-default-named]]
|
||||
Reference in new issue
Block a user