Canh Nguyen

123 posts

Canh Nguyen

Canh Nguyen

@xuancanh_dev

Vancouver Katılım Haziran 2009
1.6K Takip Edilen39 Takipçiler
Canh Nguyen
Canh Nguyen@xuancanh_dev·
@ryanlpeterman Thank you for the interview. It would be great if you could also bring Al Vermeulen out of retirement. I’m a big fan of his work within Amazon and hope it becomes more widely recognized across the industry.
English
1
0
5
1.2K
Ryan Peterman
Ryan Peterman@ryanlpeterman·
Bjarne Stroustrup is the creator of C++ and a former researcher at Bell Labs at its peak. I interviewed him about: • What made Bell Labs different • Programming language design: types, memory safety, bootstrapping • When abstraction improves performance • Anecdotes from building C++ • Thoughts on AI writing C++ • Mistakes he'd change while building C++ Where to watch: • YouTube: youtu.be/U46fJ2bJ-co • Spotify: open.spotify.com/episode/52pEgo… • Apple Podcasts: podcasts.apple.com/us/podcast/the… • Transcript: developing.dev/p/creator-of-c… Thank you to this episode's sponsors for supporting my work: • Cursor 3: a unified workspace for building software with agents, check it out at cursor.com • WorkOS: makes your app Enterprise Ready with easy to use APIs to add SSO, SCIM, RBAC, and more in just a few lines of code, check them out at workos.com Timestamps: 0:00 - Intro 0:50 - The origin of C++ 8:46 - What Bell Labs was like 17:24 - Dennis Ritchie 24:00 - When to build a programming language 31:59 - Bootstrapping a language 33:58 - C++ is not object-oriented 37:32 - Discussing type systems 46:20 - Memory safety 49:26 - Standards committee anecdotes 1:09:40 - Adding automatic garbage collection to C++ 1:18:25 - Template instantiation is Turing complete 1:21:57 - Abstraction and performance 1:28:51 - AI writing code 1:35:54 - His motivation 1:39:18 - Famous quotes 1:46:48 - Reflecting on building C++ 1:49:12 - Top C++ book recommendation 1:50:59 - Advice for his younger self 1:58:06 - Outro
YouTube video
YouTube
English
22
209
1.1K
318.2K
Canh Nguyen
Canh Nguyen@xuancanh_dev·
@GergelyOrosz This post may be a troll, but believe it or not, these kinds of promotion-driven projects happen all the time at Amazon, especially in the ZIRP era. You can ask anyone who works at Amazon to confirm.
English
0
0
5
219
Gergely Orosz
Gergely Orosz@GergelyOrosz·
The below post is going viral, people treating it as real because it looks like a screenshot from a site It’s fake, from an anonymous blue check account. It’s not a story that happened - but was written as plausible and to trigger devs This is what rage baiting looks like 👎
pdawg@prathamgrv

software engineering in one paragraph

English
41
14
337
58.9K
Canh Nguyen
Canh Nguyen@xuancanh_dev·
@j_rohrauer @GergelyOrosz The ideas came from Allan Vermeulen. In the early days, it was led by Allan, James Sorenso, and others, but they maintained a very low profile outside of Amazon. You can find some of the stories online, for example, Vermeulen gave a rare interview here: cloudzero.com/blog/allan-ver…
English
1
0
3
57
Johannes Rohrauer
Johannes Rohrauer@j_rohrauer·
@GergelyOrosz I'd love to know how it all started. The very first meeting, brainstorming on flipcharts until 5am....
English
2
0
39
6.3K
Gergely Orosz
Gergely Orosz@GergelyOrosz·
AWS's S3 object storage is at a different level of scale. It serves ~150M RPS (!!) and offers 11 nines of durability (!!!) [if you store 100M objects, you can statistically expect to lose one every 1,000 years] I'll talk with the team building it. What would you like to know?
English
94
61
2.1K
202.8K
Canh Nguyen
Canh Nguyen@xuancanh_dev·
@aakashgupta Amazon has 80B dollar in cash and cash equivalent. Cutting 30k jobs only save them ~6B$ per year. This round of layoff doesn't make any sense, a really bad move from Jassy to kill whatever ownership and morale left from the employees.
English
0
1
3
332
Aakash Gupta
Aakash Gupta@aakashgupta·
The real story here is Amazon just cut 30,000 people not because business is bad, but because they need the money for GPUs. AWS has a $195B backlog growing 25% YoY but can't buy compute fast enough to meet demand. This is capital choosing GPUs over people, and every hyperscaler is doing it. Meta cuts 5% every six months for the same reason. This isn't a recession. It's a radical reallocation from wages to capex, and the market rewards it directly. Companies are scrambling for 20% productivity gains through AI tools to make up for the lost headcount, forcing remaining employees to absorb more work. The math is simple: shift opex to capex, financials improve, stock goes up. The GPU gold rush probably continues until enterprise AI adoption hits 50% (currently under 10%). But once token demand growth slows, semiconductor suppliers will face order cuts faster than their production cycles can adjust. For now, Nvidia's margins might actually exceed the internet companies buying their chips.
Jukan@jukan05

Amazon laid off 30,000 employees today, an even larger cut than during the industry contraction in 2022. The reason is simple: They don’t have enough capex left to buy GPUs. As a result, AWS growth has slowed, the market has punished them harshly, and now they must cut salaries to save money for GPU purchases—so the financials look better and they can tell a story of “AWS growth bottoming out.” Every internet company software engineer (SDE) should buy Nvidia/AMD stock as a hedge—compensating for the risk of being squeezed out of the value chain by GPUs. Entering 2024–2025, the main factor behind weak employment for American SDEs is no longer the massive over-expansion of 2021, nor the competition from lower-wage overseas engineering centers, and not yet the reduced demand caused by AI efficiency gains. A new boss has arrived: GPU capex. GPU capex is creating a strange “prosperous depression” inside internet companies: The company’s revenue growth looks strong, stock prices keep rising—but wage expenses have become immovable constraints for management. Everyone worries about their jobs. Continuous layoffs increase the workload for those who remain. Morale collapses. It feels like the Great Depression all over again. This isn’t a traditional recession. It’s capital’s radical redistribution between manpower and compute power. Amazon’s 30,000-person layoff has been rumored for two months. The mid-year performance review, usually in July, was delayed to mid- or late August. The return-to-office (RTO) policy also served as a major excuse for the cuts. The AGI group will remain untouched; PXT, Devices & Services, and Operations will be the hardest hit. By convention, AWS will likely announce its cuts later—probably after AWS re:Invent—to squeeze every bit of output first. Meanwhile, AWS’s Q2 backlog reached $195 billion, up 25% YoY. This shows customers want to buy but AWS can’t deliver—demand remains scorching hot, and they simply can’t buy GPUs fast enough. In an era where AI server supply can’t keep up with explosive demand, shifting opex (wages) to capex directly boosts company performance. Capital will ruthlessly punish any CSP or hyperscaler that fails to fully embrace this path. Meta has quietly entered a “5% layoff every six months” rhythm. Recently, it cut 600 people in its AI org and also removed many directors across departments—same logic again: AI datacenter capacity is insufficient. In the past year, Meta revised up its 18-month capacity plan three times. Each time they thought they had overestimated demand—only to painfully realize a few months later that they had underestimated it. Does this mean internet companies no longer need people? Of course not. But after the hiring budget is slashed, they’re forced to squeeze productivity internally to compensate. Big tech companies are now pulling every possible lever: building internal tools with agent functions, encouraging “one-click deployment vibes,” setting KPIs for AI usage rates, requiring departments to report AI adoption progress and use cases, and mandating periodic peer learning sessions. All these frantic moves aim for just one modest goal: ~20% efficiency improvement. What happens next? To maintain growth and competitiveness—once efficiency gains plateau and layoffs hit the bone, when opex yields no more savings—the next step will be to sacrifice cash flow. Some, like Oracle, may even take on debt to sustain growth. Nvidia and AMD, armed with huge cash reserves, will continue to push partners to invest in AI capex—just like OpenAI has done. The biggest beneficiaries of all this will be the semiconductor supply chain. A new normal may emerge: semiconductor companies’ profit margins surpass those of internet firms. But they also bear the greatest risk: Once VCs or hyperscalers notice token demand slowing—or even just growth decelerating—they’ll ruthlessly cut orders. The transmission of that shock will be far faster than semiconductor production cycles. When might that point arrive? One reference indicator: when enterprise adoption reaches ~50%. During the March 2000 internet bubble burst, U.S. internet penetration was around 52% (some data say 43%). Currently, major internet companies’ GenAI daily-user penetration is rising from 50% toward 90%, while overall enterprise AI adoption is still under 10%. That means growth is safe for now. Historically, the fastest phase of any technological revolution is when corporate adoption moves from 10% to 50%. The Cisco bubble won’t repeat itself so simply. This time, information flow is vastly richer. There will always be enough skeptics warning about bubbles—ensuring that when it does burst, it won’t be nearly as catastrophic.

English
80
533
3.9K
451.3K
Canh Nguyen
Canh Nguyen@xuancanh_dev·
@HighFreqAsuka It’s the combination and sequence of tokens that matter, not the tokenization method itself. Different models use different tokenization methods, but they generally converge to similar performance levels. lunary.ai/anthropic-toke…
English
1
0
0
38
Asuka
Asuka@HighFreqAsuka·
you people actually trust this thing to trade stocks for you?!
Asuka tweet media
English
14
4
516
32.6K
Canh Nguyen
Canh Nguyen@xuancanh_dev·
@SriSaw_ @gkcs_ That is BS advice. The course barely scratches the surface, just a fraction of the content in the AI engineering book by Huyen. And the course didn’t come from actual experience of building production AI system. If you don’t have time to read all of them, just pick Huyen’s book.
English
1
0
0
37
saw
saw@SriSaw_·
@gkcs_ finally someone with sense ,not running behind click. I respect you 💯
English
1
0
0
378
Gaurav Sen
Gaurav Sen@gkcs_·
This is bad advice. 6 books is roughly 1800 pages. That'll take forever to finish. Pick up the InterviewReady course instead, and finish it in a month. Don't give yourself impossible challenges.
English
76
43
1K
148.2K
Grok
Grok@grok·
Yes, I agree—it's a solid choice. TigerBeetle is built for high-concurrency transactions with strong consistency, like preventing double-spending in finance. That's perfect for avoiding oversold tickets in a massive rush. Handles spikes reliably without the usual database pitfalls.
English
1
0
2
134
Phil Eaton
Phil Eaton@eatonphil·
Why does anyone use a cache database? What's wrong with read replicas?
English
15
0
63
12.3K
Canh Nguyen
Canh Nguyen@xuancanh_dev·
There are many reasons: different access patterns, different data structures (normalized vs. denormalized data), different distribution patterns, much lower latency (sub-millisecond) due to in-memory caching, ability to implement multiple caching layers, and reduced database load. Data size in memory caches is usually much smaller than database replicas due to cache replacement policies, making them generally less expensive to run. Facebook and Twitter have published some very good papers on how they utilize caching systems.
English
1
0
0
69
Evgeniy Resh
Evgeniy Resh@JoneKane6·
@eatonphil I also don’t get it. Network is still be bottleneck, even in case of complex relation databases. I saw Gitlab use redis to prevent spikes on tail-latency, maybe there exist some cases for that
English
1
0
0
421
Canh Nguyen
Canh Nguyen@xuancanh_dev·
@asmah2107 @rk42745417 You’ve got to think about all these things way before jumping into technical solutions. It's a common misconception that software problems are purely technical, but in reality they are business challenges that must be assessed from multiple dimensions.
English
0
0
1
181
Canh Nguyen
Canh Nguyen@xuancanh_dev·
@asmah2107 @rk42745417 What does the current system look like? Is the team comfortable with building a data processing system? If not, then it becomes a question of evaluating logging solutions rather than designing a system. If yes, then it becomes a build-versus-buy question.
English
1
0
0
184
Ashutosh Maheshwari
Ashutosh Maheshwari@asmah2107·
Your 500 microservices generate 5 terabytes of log and metric data every day. Your current system to collect, store, and analyze this data is so slow and expensive. Engineers can't troubleshoot issues. They are flying blind. How do you fix this ?
English
78
38
731
69.5K
Canh Nguyen
Canh Nguyen@xuancanh_dev·
@tiwaryash @LacTranAn TDD is very different from test-first development. It's a cycle of red-green-refactor-repeat. I have never seen anyone actually do that in practice.
English
2
0
2
23
Yash Tiwary
Yash Tiwary@tiwaryash·
@LacTranAn I totally get that! TDD can feel like a hurdle, especially when the logic doesn’t seem complex enough to warrant tests first or when it feels too complex to wrap your head around testing beforehand. But once you get into the rhythm, it can make debugging and refactoring a breeze.
English
1
0
1
26
Lac Tran An
Lac Tran An@LacTranAn·
TDD or just write tests after the feature is done?
English
6
0
4
1.1K
Canh Nguyen
Canh Nguyen@xuancanh_dev·
@kiracked @twitchard @MarcJBrooker Following Marc's logic, his opinion on microservices wouldn't carry much weight for general engineers, which doesn’t seem accurate.
English
0
0
0
111
Canh Nguyen
Canh Nguyen@xuancanh_dev·
@kiracked @twitchard @MarcJBrooker I think you're missing what he's trying to say. Marc's super brilliant, no doubt, but the products he worked on is super niche—like, fewer than 10 companies are working on that scale and level. Most companies deal with regular consumer or business apps.
English
1
0
1
120
Marc Brooker
Marc Brooker@MarcJBrooker·
I know this kind of junk is engagement bait, but it's sad that new systems engineers see 100 ignorant ill-informed takes for every bit of good architecture advice. Microservices are fine. Take your systems advice from people who build and run systems. Ignore influencers.
ハセン حسن@hasen_95dx

While there’s no way to know ahead of time what the right architecture is (you have to discover it) there are many wrong architectures that you should avoid. “Microservice Architecture” is just the wrong architecture for any kind of problem. Period. Never even consider it.

English
18
30
294
29.2K
Canh Nguyen
Canh Nguyen@xuancanh_dev·
@james_raftery @potetm @MarcJBrooker The industry should rename it to right-sized service architecture, or domain-oriented service architecture, or something else. Nano-micro-nano-small-medium shouldn't be a part of that.
English
0
0
1
80
Canh Nguyen
Canh Nguyen@xuancanh_dev·
@james_raftery @potetm @MarcJBrooker That is just the old SOA architecture - and I agree that it is the right way to do thing, not microservices. Microservices is a subset of SOA, and many people aren't aware of it. The main flaw of microservices as an architecture pattern is the "micro" part in its name.
English
1
0
1
86
Phil Eaton
Phil Eaton@eatonphil·
Here's a sketch of a syllabus (a reading list) for a study on data storage, replication, and integrity. Could definitely use your help both in what to add and what to remove.
Phil Eaton tweet media
English
6
35
292
18.5K
zek
zek@zekramu·
@software25939 LMFAOOOOO This isn’t even good this is like not bad qa 😭😭
English
1
0
22
2.5K
zek
zek@zekramu·
QA DELETED THE FUCKING DATABASE BRO SAID OPSIE I ISSUED DELETES IN MY LOOP INSTEAD OF PATCH HOLY FUCKING SHIT WHY WHY WHY
English
234
62
3.6K
276.9K
Canh Nguyen
Canh Nguyen@xuancanh_dev·
@astuyve @MarcJBrooker Nothing is completely right or completely wrong, it ultimately depends on perspective, the situation, and sometimes personal beliefs. What truly matters is the impact and the trade-offs made in forming that opinion.
English
0
0
0
29
Marc Brooker
Marc Brooker@MarcJBrooker·
I like this model, and think it applies to senior tech roles too. In that context, I think 'contrarian as a principle' and 'bandwagoner' are actively harmful to a lot of teams. I love to see folks grow out of the 'principled-timid' into the 'principled-brave' category.
Tim Urban@waitbutwhy

Opinionated people on social media fall into five categories: Principled-Brave: Say what they think regardless of what's popular Principled-Timid: Say what they think when it's safe to do so Bandwagoner: Say whatever's popular Principled-Contrarian: Say what they think when others aren't saying it Contrarian As a Principle: Go against whatever's popular

English
2
1
54
5.5K