!zoouYgWXfPmNndsiWB:maunium.net

General

185 Members
Calm down and shill https://www.racing.com/horses/ziglang-2000 | The Game | We don't talk about X | https://publiccode.eu/ | https://invidio.us/watch?v=OA_CndlBu0g | https://meet.jit.si/linuxgaming | Code of Conduct: https://git.sr.ht/~tauoverpi/matrix/blob/master/code-of-conduct.md | Radio: lainchan.org/radio http://somafm.com | be smart: http://www.catb.org/esr/faqs/smart-questions.html | Laissez-faire | https://orwell.ru/library/articles/As_I_Please/english/efasc | main | cats are always on-topic | https://www.mikeash.com/getting_answers.html | https://people.freebsd.org/~lstewart/articles/cpumemory.pdf29 Servers

Load older messages


SenderMessageTime
24 Sep 2022
@tauoverpi:tchncs.deLevy
In reply to @lolisamurai:animegirls.win
as long as you only use pointers to it it never needs to know the actual struct
yes but do you really need to hide it?
10:40:00
@lolisamurai:animegirls.winlolisamuraiits nice not cluttering the header with unnecessary details10:40:15
@tauoverpi:tchncs.deLevynow you must heap allocate it10:40:17
@tauoverpi:tchncs.deLevyor use the "fun" alloca 10:40:35
@lolisamurai:animegirls.winlolisamuraibut yea it limits allocation to heap or custom allocator10:40:37
@tauoverpi:tchncs.deLevyyeah, I'd argue that just makes it more of a pain / limits choices10:41:01
@tauoverpi:tchncs.deLevyI'm fine if it's a singleton that you have an opaque reference to10:41:18
@tauoverpi:tchncs.deLevybut not if it's a managed resource10:41:28
* @tauoverpi:tchncs.deLevy would argue it's OOP-ish10:41:55
@tauoverpi:tchncs.deLevy however, it's nicer when you can define a type safe void* in cases where you can't avoid it 10:42:21
@tauoverpi:tchncs.deLevy * however, it's nicer when you can define a type safe void* in cases where you can't avoid it (callbacks) 10:42:34
@justmidi:matrix.org?midi
In reply to @lolisamurai:animegirls.win
sent an image.
4090???
12:52:09
@justmidi:matrix.org?midiAh, coming out Oct 12th12:55:10
@justmidi:matrix.org?midiWelp, time to wait for my Linus tech tips benchmarks. The only actual thing he's useful for12:55:44
@tauoverpi:tchncs.deLevyhttps://threadreaderapp.com/thread/1054964796506939392.html15:55:41
25 Sep 2022
@red/:matrix.org@red/:matrix.org joined the room.04:55:06
@red/:matrix.org@red/:matrix.org left the room.04:55:34
@lolisamurai:animegirls.winlolisamuraiok so binaries compiled by tcc are only ~15% slower than gcc/clang -O0, while compiling 10x faster. -O3 is 3x faster than that but yeah, tcc is great for quick iteration builds08:47:50
@lurkki:pikaviestin.fi­čÄů leipreach├ín na Nollag 9n6m https://doc.qt.io/qt-6/qml-tutorial1.html looks like you can use QML without calling it from C++ yourself after all 12:23:37
@justmidi:matrix.org?midi
In reply to @lolisamurai:animegirls.win
ok so binaries compiled by tcc are only ~15% slower than gcc/clang -O0, while compiling 10x faster. -O3 is 3x faster than that but yeah, tcc is great for quick iteration builds
I'd rather test with what I'm building with tho. I feel like I'd miss edge cases when building with a different compiler
16:57:40
@justmidi:matrix.org?midiAlso, all praise the mighty LLVM 16:57:48
@lolisamurai:animegirls.winlolisamuraii do a run with clang and asan once in a while23:37:49
@lolisamurai:animegirls.winlolisamuraiusually nothing is wrong if it doesnt crash with tcc tho23:38:04
26 Sep 2022
@9n6m:halogen.city9n6m
In reply to @lurkki:pikaviestin.fi
9n6m https://doc.qt.io/qt-6/qml-tutorial1.html looks like you can use QML without calling it from C++ yourself after all
Hmm seems like there's no way to access stdin/stdout and the way to communicate with your application would be to use XMLHttpRequest or web sockets. File access seems limited too. I think you could extend qml itself however.
00:22:40
@justmidi:matrix.org?midi
In reply to @lolisamurai:animegirls.win
i do a run with clang and asan once in a while
I'd rather just use what I'm going to deploy with every time. I don't really see much point besides a very small performance gain in compiling
00:23:56
@justmidi:matrix.org?midi
In reply to @9n6m:halogen.city
Hmm seems like there's no way to access stdin/stdout and the way to communicate with your application would be to use XMLHttpRequest or web sockets. File access seems limited too. I think you could extend qml itself however.
QML through XMLHttpRequest?
00:25:16
@9n6m:halogen.city9n6mYour application <-> QML GUI00:25:50
@9n6m:halogen.city9n6m
In reply to @lurkki:pikaviestin.fi
9n6m https://doc.qt.io/qt-6/qml-tutorial1.html looks like you can use QML without calling it from C++ yourself after all
* Hmm seems like there's no way to access stdin/stdout and the way to communicate with your application would be to use XMLHttpRequest or web sockets. File access (for communication through named pipes) seems limited too. I think you could extend qml itself however.
00:28:12
@justmidi:matrix.org?midiYeah, just seems odd to use QML with js 01:08:21
@justmidi:matrix.org?midiIs this like a webapp or smth?01:08:55

There are no newer messages yet.


Back to Room List