Похожие чаты

Like, question: int b = 99999; is this valid and predictable C?

15 ответов

5 просмотров

Is valid but not predictable

Daniele°
Is valid but not predictable

How about this: int32_t b = 99999;

Ludovic 'Archivist'-Lagouardette Автор вопроса
Thomas
How about this: int32_t b = 99999;

This will either compile, and work predictably, or not compile at all on platforms where CHAR_BIT is not a factor of 32

Ludovic 'Archivist' Lagouardette
This will either compile, and work predictably, or...

in reality however the abstraction on the int is always better than its fixed size

Daniele°
in reality however the abstraction on the int is a...

It's crazy how you can still unironically hold this belief

Ludovic 'Archivist'-Lagouardette Автор вопроса
Daniele°
in reality however the abstraction on the int is a...

So an unpredictable integer size which can be as small as 14 bits is better than a known size?

Ludovic 'Archivist'-Lagouardette Автор вопроса
Daniele°
99% yes 1% no

Nah, that is 100% no. That is how you ram a plane into a mountain

Ludovic 'Archivist'-Lagouardette Автор вопроса
Daniele°
The plane is 1%

Build your software like someone's life will depend on it

Ludovic 'Archivist'-Lagouardette Автор вопроса
Daniele°
The plane is 1%

Linux is that 1%, RTOS is that 1%

Daniele°
Ok, rewrite Linux in ada

It's possible to write good software in bad languages

Ludovic 'Archivist' Lagouardette
Linux is that 1%, RTOS is that 1%

Generally in os is deprecated use of abstraction type

Похожие вопросы

Обсуждают сегодня

#include <stdio.h> #include <stdlib.h> #include <time.h> void mass_first_generate(int mass[5][7]) {     for (int N = 0; N < 5; N++) {         for (int A = 0; A < 7; A++) {   ...
Чувак
6
https://www.linkedin.com/posts/ugama-benedicta-kelechi-codergirl-103041300_mobiledevelopment-fluttertraining-handsonlearning-activity-7263445699227254784-IdHB?utm_source=share...
CoderGirl
16
Всем привет! Имеется функция: function IsValidChar(ch: UTF8Char): Boolean; var i: Integer; ValidChars: AnsiString; begin ValidChars := 'abcdefghijklmnopqrstuvwxyzABCDE...
Евгений
44
VIP-397 BNBx Oracle implementation upgrade Summary This proposal, if approved, will upgrade the implementation of the BNBx Oracle contract on Venus from version 1 (V1) to v...
Venus Announcements
2
Помогите пожалуйста. Делаю систему плагинов. Проблема сейчас в такая: плагины загружаются в основном потоке. FLibHandle := SafeLoadLibrary(FFileName) Но нужно еще выполнить фу...
Илья 🤣
10
Ну вот просто даже давайте вот как. Какой нибудь конкретный кейс, можете в пример привести, где бч работает и приносит прикладную пользу, а не просто что бы было? Не крипту.
Alexander Andreev
22
For all those that keep asking why no pump? why this ? and why that...? Please close ur ewt chart and open 2 others - TOTAL (total mc) and BTC.D (btc dominance). Maybe BTC a...
Inn3r_G
19
"Since pnut can flip FTM easily, I'm swapping my FTM to pnut and hoping for a easy x5-x10" Perfect recipe for disaster. NFA but chances are, you'll end up as exit liquidity ...
C. A.
7
Ready for some fun AND a chance to win TKO Tokens? Join us for exciting minigames in our Telegram group! 🕒 Don’t miss out—games start on today 25 October 2024, at 8 PM! Ge...
Milkyway | Tokocrypto
255
объясните пожалуйста, почему функция не работает должным образом? вроде должно брать активное окно сравнивать его размер с размером экрана, и если есть совпадение = true прове...
JF
12
Карта сайта