3 ms·
Yeah, but wasn't TCC designed to be the opposite of easy to understand? It was entered into the obfuscated, C contest. I'll leave it to a C coder to tell me if
by nickpsecurity 10y ago
Yeah, but wasn't TCC designed to be the opposite of easy to understand? It was entered into the obfuscated, C contest. I'll leave it to a C coder to tell me if TCC and Selfie are in same ballpark on amateur comprehension.
- lisper 10y agoWhy don't you look at the code and decide for yourself?
- nickpsecurity 10y agoBrain injury. Forgot C & ASM minus tiny fragments. Still haven't relearned them. Getting close to time to do that again, though. A subset at least.
- noam87 10y agoHi, have you written about your experience programming after a brain injury?
- nickpsecurity 10y agoI might once I do it. I remember enough fragments of what worked and didn't to do my R&D at a high-level just above the actual implementation. I'm seeing so many opportunities in a number of paradigms I've had a really hard time committing to which I'll start with. Given it will be a slog of a process... I might do a write-up if I do. I did code a problem or two afterward. Reusing principles from high-assurance systems and security helped. Keep design, language, & implementation simple. Straightforward control flow with no looping between layers. Safe language. Straight-forward toolchain. I ended up doing those problems in a subset of FreeBASIC since I was up and running so fast w/ no fighting with IDE's, etc. Solutions came out correct in first implementation due to design principles & refactoring specs on paper. Coding phase simply didn't have much room for added error.
- vidarh 10y agoOriginally, yes. An unobfuscated version is still being developed. The obfuscated version is certainly a massive exercise in frustration to try to read.
- masklinn 10y agoIt was originally an obfuscated C effort, then grew into a full-blown small and fast compiler for stuff like compiling the linux kernel on the fly during boot. It's not especially designed for easy source comprehension (so I'd answer no to your last question) but it's been a long time since it was specifically designed against it.
- nickpsecurity 10y ago@ you and vidar: Appreciate it. That's what I was expecting. It was cool and small but in a different category given readability didn't matter.