Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crazyguitar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Show HN: Nvshmem from Scratch – RDMA, GPUDirect, and GPU Networking Demystified
(cppcheatsheet.com)
1 points
by
crazyguitar
7mo ago
|
0 comments
2.
▲
by
crazyguitar
8mo ago
Thank you for sharing this excellent resource! You make a great point—searching for "modern C++" often surfaces C++11-era content, while newer standards have already deprecated some of those "modern" practices. That'
3.
▲
by
crazyguitar
8mo ago
Thanks. This is a awesome suggestion. Will dive deep what is the better way to do.
4.
▲
Show HN: C/C++ Cheatsheet – a modern, practical reference for C and C++
(github.com)
10 points
by
crazyguitar
8mo ago
|
6 comments
5.
▲
Show HN: Libefaxx – A Microbenchmark for AWS EFA GPU/CPU RDMA Communication
(github.com)
2 points
by
crazyguitar
10mo ago
|
0 comments
6.
▲
by
crazyguitar
7y ago
I understand you are worried about newbies misuse APIs. You remind me that I should add a warning to inform the sample code in this article should not use in programs. Thanks. Also, I did not advocate a newbie should start and stop threads
7.
▲
by
crazyguitar
7y ago
I think this is not an excellent solution. You have to wait for all threads finish. I agree that we should use high-level API in most of the time, but, in some cases, we still need low-level APIs to support us to reach some goals.
8.
▲
by
crazyguitar
7y ago
I agree with you. We should use a reliable library, as you said. The primary purpose of this article is to help people understand what a coroutine and an event loop are. Therefore, programmers can use asyncio API fluently without misuse. Ho
9.
▲
by
crazyguitar
7y ago
I think the syntax, `yield from`, and `@coroutine` are two things. `async def` + `yield from` means we delegate generator to another generator. Therefore, in the async function, using `yield from` is equal to declare an asynchronous generat
10.
▲
by
crazyguitar
7y ago
Oh! sorry! thx
11.
▲
by
crazyguitar
7y ago
Yeah! I know that @coroutine and yield from are deprecated. This article focuses on how coroutines cooperate with event loops in Python. You remind me that I should add a warning to inform your information. Thanks.
12.
▲
by
crazyguitar
7y ago
Oh! I understand. You're right. Some descriptions mix coroutines and event loops together. thx
13.
▲
by
crazyguitar
7y ago
Nice. Thanks
14.
▲
by
crazyguitar
7y ago
Awesome! Thank you
15.
▲
by
crazyguitar
7y ago
I understand. I will review my contents persistently. BTW, if you are available, could you give me some writing tips? Thank you so much.
16.
▲
by
crazyguitar
7y ago
async/await is a better design pattern without considering low-level APIs such as epoll. It is not a new kind of threading/loop. Python provides a user-level scheduler for developers, so they don't need to implement their sch
17.
▲
by
crazyguitar
7y ago
I agree.
18.
▲
A Hitchhiker’s Guide to Asynchronous Programming
(github.com)
181 points
by
crazyguitar
7y ago
|
43 comments
19.
▲
Debugging via GDB with Python
(pythonsheets.com)
2 points
by
crazyguitar
7y ago
|
0 comments
20.
▲
PEP 572 and the Walrus Operator
(github.com)
1 points
by
crazyguitar
7y ago
|
0 comments
21.
▲
Show HN: A Collection of Python Cheat Sheets
(pythonsheets.com)
2 points
by
crazyguitar
8y ago
|
0 comments
22.
▲
Python C Extension Cheat Sheet
(github.com)
1 points
by
crazyguitar
8y ago
|
0 comments
23.
▲
Playing KTLS in Python
(github.com)
1 points
by
crazyguitar
9y ago
|
0 comments
24.
▲
A collection of python cheat sheet
(pythonsheets.com)
19 points
by
crazyguitar
10y ago
|
0 comments
25.
▲
A note about How python3.5 async-await work
(github.com)
1 points
by
crazyguitar
10y ago
|
0 comments