Chris Heyes

777 posts

Chris Heyes banner
Chris Heyes

Chris Heyes

@hazeycode

United Kingdom 加入时间 Temmuz 2017
362 关注257 粉丝
Mohit Mishra
Mohit Mishra@chessMan786·
Mastering Memory Management: From Manual Cleanup To Smart Pointers In C And CPP In this post, we’ll explore the intricacies of memory management, discuss why garbage collection isn’t typically used in C/C++, and try to see into alternative approaches for efficient memory handling.
Mohit Mishra tweet media
English
3
30
272
9.7K
Chris Heyes
Chris Heyes@hazeycode·
@aramh @x_annatar @FailedToComply I dunno man. I can design my program to make efficient use of a particular machines resources and you’re saying that you can devise a mathematical model that will do better so long as it is given highly abstracted, proof-able code. Exciting if true. Let’s see it.
English
1
0
0
64
Aram Hăvărneanu
Aram Hăvărneanu@aramh·
@x_annatar @hazeycode @FailedToComply Pretty much. More sophisticated understanding of the code means you can make better use of data dependencies, better parallelization opportunities, you can (safely) have multiple stacks (so you don't need to allocate memory), etc.
English
1
0
3
69
Aram Hăvărneanu
Aram Hăvărneanu@aramh·
Functional programers have determined that reasoning about effects is very important and purity is one essential feature that allows for this reasoning. But in the beginning, they didn't know how to do effects in a principled way. So purity was merely conventional. Side effects were permitted. We can call these languages first generation languages. We can say the first generation languages had an unsafe hatch. It was necessary for pragmatic reasons. Second generation languages finally figured out how to do effects—linear types, monads, and algebraic effect systems are the three main ways to do effects in a controlled manner that allows for safety while preserving reasoning capabilities. Second generation languages do not need escape hatches. They can encode operations that previously required using the escape hatch, in a safe, principled manner that doesn't tarnish its own semantics. When it comes to low-level, mutation based languages, Rust is a first generation language. It simply needs unsafe blocks for pragmatic reasons. It's one of the first efforts in this space, so that's no surprise. But don't believe for a moment that unsafe blocks are necessary in principle. Eventually there will be second generation languages that can subsume all usage of unsafe, while still being completely safe and principled.
English
8
4
148
14.7K
Chris Heyes 已转推
Shingpapi
Shingpapi@shingpapi·
finally got a proper "turn your head this way" functionality and that helped fix the peeking mode to make it look cooler #gamedev #indiedev
English
95
685
7.6K
197.9K
Chris Heyes
Chris Heyes@hazeycode·
Happy new year everyone x
English
0
0
2
120
Chris Heyes 已转推
No Farmers, No Food
No Farmers, No Food@NoFarmsNoFoods·
Mass-scale panels on prime farmland shouldn’t be allowed. As well as being blots on beautiful countryside, it reduces food supply. Put solar on brownfields, car parks and roofs instead.
English
152
879
3.1K
42.2K
Chris Heyes
Chris Heyes@hazeycode·
The zig-gamedev libs have been migrated from the monorepo to their own repos. "Fuck yeah" - anon user "Finally" - another anon user #libraries" target="_blank" rel="nofollow noopener">github.com/zig-gamedev#li
English
0
0
6
347
Isaac Yonemoto is cooking
Isaac Yonemoto is cooking@DNAutics·
@bryancsk Pro-growth means the rich stay rich because the mechanism to grow is to inflate the currency and pay banks and cronies. There needs to be a third way
English
5
0
1
507
Bryan Cheong
Bryan Cheong@bryancsk·
Degrowth means that the rich stay rich and everybody else has no recourse to recreating wealth. It is an inherently feudal worldview that entrenches an aristocracy.
English
76
416
3.8K
224.4K
Chris Heyes 已转推
No Farmers, No Food
No Farmers, No Food@NoFarmsNoFoods·
If the Labour government remove inheritance tax relief on family farms it will decimate the farming industry. As Farmer Bruce Jobson states: “We are facing the worst crisis we’ve ever had in farming. This is going to be end game for many farms.”
English
77
763
1.7K
35.4K
Chris Heyes
Chris Heyes@hazeycode·
@FlohOfWoe @wc_duck We do something similar to merge enums together in zopengl experimental wrapper #L8" target="_blank" rel="nofollow noopener">github.com/zig-gamedev/zi…
English
0
0
1
98
Chris Heyes
Chris Heyes@hazeycode·
@Srekel With this work ethic and focus on what really matters, the bottom line, you’ll have offers to sellout to EQT in no time! Best wishes comrade!
English
0
0
3
93
Anders Elfgren 🏹 Tides of Revival RPG
Now that I'm a serious business person, I need to take every opportunity to get ahead, no matter who I need to throw under the bus!
Anders Elfgren 🏹 Tides of Revival RPG tweet media
English
1
0
7
561
Ray
Ray@raysan5·
QUIZ! How many lines of plain C code were required to create `rTexPacker v4.0`, excluding external libraries (raylib, raygui, rini...), and not considering comments and blank lines??? The closest correct answer (in next 24 hours) will get a FREE KEY for `rTexpacker v4.0`! 🚀😄
Ray@raysan5

rTexPacker v4.0 can pack sprites and fonts! It support many options, including sprite pivot config or text-file processing to find unique codepoints automatically! It's engine-agnostic but you have rTP importers for Unity and Godot! 🚀 Get it: raylibtech.itch.io/rtexpacker

English
130
9
165
27K
Chris Heyes 已转推
Frank
Frank@jedisct1·
After an integrated test reduction system, the Zig toolchain is going to have built-in fuzzing github.com/ziglang/zig/is…
English
0
5
48
2.9K
Chris Heyes 已转推
MANOR LORDS
MANOR LORDS@LordsManor·
Does anyone know someone who makes fonts professionally and may be looking for work? If yes, please recommend the person/studio here or send me an e-mail to recruitment@manorlords.com. Thank you!
English
20
53
578
76.4K
Bitcoin for Freedom
Bitcoin for Freedom@BTC_for_Freedom·
Hedge funds are shorting #bitcoin like crazy with the Futures ETFs, and buying through the Spot ETF at lower prices. The third largest hedge fund in the world (Millennium Management) have bought 30k BTC through Spot ETFs.👀
English
71
122
912
145.3K
Chris Heyes
Chris Heyes@hazeycode·
@CiccioMadonna @CYBERH0RNET @IceHawk_ @BTC_for_Freedom Not at all. The whole point of a market is that it is a positive sum game; where people trade things they don’t have use for, for things they do have use for. The market has intrinsic value that can be captured. In the ideal, everybody wins. In reality, it’s a messy business.
English
1
0
1
61