ย โขย
Twilioย โขย 12m
Did you know that you can optimise memory by changing the order of struct fields in Go? Its fascinating! Right? I didn't know this until I saw this for myself in a reddit thread's example. Now this is not a new thing. Programming languages like C/C++ already has this concepts up and running for decades. Turns out, most processors access data more efficiently when data is aligned to certain byte boundaries (e.g., 2, 4, 8 bytes). For instance, an int64 (which is 8 bytes) is most efficiently accessed when stored at a memory address that is a multiple of 8. To achieve this alignment, Go automatically adds padding between fields in a struct. This padding can increase the size of a struct if fields are not ordered optimally. By ordering fields from largest to smallest, you minimise the amount of padding required between fields, resulting in a smaller overall memory footprint. Here are the links that where I found this: The Example: https://go.dev/play/p/MBXg4UBOerp The Thread: https://www.reddit.com/r/golang/comments/qcab7p/you_can_optimize_memory_by_changing_the_order_of/
Fcuk imposter syndro...ย โขย 10d
Why So Many Billion-Dollar Startups Start With โCโ Coinbase. Canva. Calm. Coursera. Crunchbase. Cloudflare. Clubhouse. Even ChatGPT. This isnโt just a coincidence. In branding, patterns like this are rarely accidents โ theyโre often rooted in how o
See MoreEngineer, Entreprene...ย โขย 1y
Many engineers wrongly blamed Microsoft for the outage. In reality, it was due to a buggy update from Crowdstrike for Windows. This update ran in Kernel mode, trying to access an invalid memory location, causing a Blue Screen of Death. The problemati
See MoreCo-founder at social...ย โขย 1m
๐ Big Moves from Social Struct! Weโre thrilled to announce that Social Struct, our growing influencer marketing agency, is expanding its reach to Kolkata! From connecting powerful local influencers to forward-thinking brands, weโre building real
See MoreFounder of VistaSec:...ย โขย 4m
Bypassing EDR with Custom Shellcode Loaders โ A Red Teamer's Approach Modern EDRs use user-mode hooks, behavioral analysis, and memory scanning to flag malicious activity. To bypass them, you need precision-crafted tooling. This deep-dive explores
See MoreIntrovert!ย โขย 6m
Here is everything you need to know about the startup BYTES, which has secured a Rs 20 lakh๐ฐ non-dilutive grant from Nikhil Kamathโs WTFund as part of its second cohort . โก๏ธ This Bengaluru-based startup๐ก focused on AI-powered Advanced Driver Ass
See MoreYoung mind. Bold cod...ย โขย 2m
I want to share my side-project. I'm currently exploring, and I'm very curious about technology, especially old tech and the future of new tech. It's my summer vacation, and I want to deep dive into low-level programming. I know C and C++, and I'm tr
See MoreTechnology, Developm...ย โขย 1y
Western Digital recently launched a groundbreaking 4 TB digital memory card for mobile devices. This cutting-edge memory card is slated to be available from next year onward and boasts a data transfer speed capable of reaching up to 104 MB per second
See MoreCo-founder BYTESย โขย 6m
Announcing BYTES: Indiaโs First AI-Powered ADAS for Safer Two-Wheeler Mobility After months in stealth mode, I am thrilled to unveil BYTES, our venture dedicated to transforming mobility with innovation and safety at its core. Why This Matters: -
See MoreDev dev devย โขย 4m
๐ฅ AI agent YouTube Automation Series: VIDEO to AUDIO in C#! (Part 1) In **Part 1**, weโre laying the foundation for an *AI agent* that automatically generates **titles and descriptions** for your videos โ starting with the *crucial first step*: **c
See MoreDownload the medial app to read full posts, comements and news.