SalimTerryLi's recent timeline updates
SalimTerryLi's repos on GitHub
32 watchers
PilotPi_PCB
Altium designer project file of AirPi2 HAT
C · 15 watchers
esp32_btstack_panu_example
A working example for esp32 bluetooth tethering on ESP-IDF framework with BTStack
Python · 3 watchers
pyAsyncBot
Yet another chat Bot framework for Python3.8+, OOP & Async
C++ · 2 watchers
HugeProject
某项目
JavaScript · 2 watchers
oicq_webd
Yet another shit API for oicq2
Python · 2 watchers
ZTC2DNSPOD
Sync Zerotier Central managed private IPs to DNSPod
Python · 1 watchers
AirPi
Python coded flight control unit. Make RaspberryPi flies as quadcopter' s commander. Already wasted.
1 watchers
AirPi_PCB
Altium designer project file of AirPi HAT
C · 1 watchers
btstack
Dual-mode Bluetooth stack, with small memory footprint.
C · 1 watchers
esp-tapif
TAP interface implementation based on esp-netif
C++ · 1 watchers
Firmware
PX4 Autopilot Software
1 watchers
incubator-nuttx
Apache NuttX is a mature, real-time embedded operating system (RTOS)
1 watchers
incubator-nuttx-apps
Apache NuttX Apps is a collection of tools, shells, network utilities, libraries, interpreters and can be used with the NuttX RTOS
Shell · 1 watchers
makerTerminal
TBD
Java · 1 watchers
Minecrafts-Interchange-Project
Mods for Minecraft(as more platforms as it could be) in order to develop an easy way of them's interchanges.
C · 1 watchers
pwe-virtual-driver
Pulse Width Encoding protocol driver for ESP-IDF, supports WS2812 strips, Dshot ESC and so on
C++ · 1 watchers
RC4AirPi
AirPi specific Remote Controller based on Arduino Mega 2560 R3
C++ · 1 watchers
RTIMULib-Arduino
RTIMULib Library for Arduino...(No longer support?May be...)
Makefile · 0 watchers
android_device_samsung_star2qltechn
Device tree for Samsung Galaxy S9+ (unlocked bootloader variant)
0 watchers
android_kernel_samsung_sdm845
S9/S9+/N9 kernel source
Python · 0 watchers
botoy
OPQ/IOTQQ/IOTBot的一个Python开发助手🐌
C · 0 watchers
cfbandwtest
Cloudflare IP bandwidth local testing tool
Cuda · 0 watchers
Cuda_cmake_example
Java · 0 watchers
db_homework
数据库作业
TeX · 0 watchers
Devguide
PX4 Devguide GitBook
0 watchers
drv_rover_base
小车底盘驱动...
0 watchers
DSView
An open source multi-function instrument for everyone
Java · 0 watchers
EdgeMinecraftCli
Designed for official Minecraft server released by mojang, aims to add more fascinating features.
0 watchers
esp-idf
Espressif IoT Development Framework. Official development framework for ESP32.
0 watchers
flathub
Repo contains pull requests towards flathub
Java · 0 watchers
GitHub_Counter_4_Class
github爬虫for dashark的高级语言课
Go · 0 watchers
GLuaPlayground
Gopher-LuaPlayground
C++ · 0 watchers
hello-world
C/C++编程初学者
0 watchers
libyuarel
Simple C library for parsing URLs with zero-copy and no mallocs.
C · 0 watchers
linenoise
A small self-contained alternative to readline and libedit
0 watchers
linux
C++ · 0 watchers
mcwrapper
Parser for Minecraft vanilla server
C++ · 0 watchers
mf832keeper
MF832拨号器,暂定
0 watchers
midstream-patchset-repo-mgmt-poc
A PoC for some kinds of mid-stream, patch-oriented git repo management
Shell · 0 watchers
Minecraft_PVP_Script
0 watchers
oicq
Tencent QQ Bot Library for Node.js
0 watchers
openRuyi
openRuyi is an open source, rolling release Linux distribution for RISC-V, optimized for performance, security, AI, and cloud-native workloads.
Makefile · 0 watchers
PX4-containers
Build scripts for containers running various PX4 setups, like SITL with ROS.
0 watchers
px4_user_guide
PX4 User Guide
Python · 0 watchers
routingcalc
Routing Table Calculator for dropper based network in Minecraft
C · 0 watchers
sping
Parallel ICMP ping test tool with test targets from stdin stream
0 watchers
static-curl
fully static builds of curl, runs anywhere
0 watchers
test-gh-runner
0 watchers
u-boot
"Das U-Boot" Source Tree with support for NEXX WT3020
Shell · 0 watchers
u-boot-menu-ng
Shell · 0 watchers
ubuntu4atlas
Ubuntu system image creator for Atlas200DK
C++ · 0 watchers
WAGLPLANNER
waglplanner code
0 watchers
zerotier-openwrt
A OpenWrt package for ZeroTier One - Pull requests are welcome!
0 watchers
ZeroTierOne
A Smart Ethernet Switch for Earth
SalimTerryLi

SalimTerryLi

V2EX member #667070, joined on 2023-12-14 23:14:16 +08:00
SalimTerryLi's recent replies
Dec 15, 2023
Replied to a topic by SalimTerryLi 反馈 对新用户的限制与风控
再议,这篇帖子我也没能发出来。需要 6hrs 等待。明早起床后再来点发送。

现在点击发送看到原因了,需要注册 14 天。我真的蚌埠住。
后面的发不出来了
一个大概的思路,非最优实现:

- 一个完整业务流程封装为一个 public async Task<Foo> async_work(){}函数
- var result = async_work().wait() 来启动并阻塞执行异步任务(或者不阻塞?不清楚 C#的控制流)
原理:嵌套的逻辑都依赖于上下文,但是这个上下文又具有一个特点:和栈一样,单方向由前置操作决定后续操作。所以我觉得应用有栈协程可以很好的处理这类业务逻辑。注,有栈/无栈协程在不同的定义下似乎存在歧义,我是指在协程内运行的业务代码拥有 per-coro 的栈。

新号发不了长的。就离谱
对付 callback hell 应该都可以上 coroutine/async 吧? C#是有协程支持的,但我不知道它的底层实现的代价,因为我不写 C#
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4658 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 05:35 · PVG 13:35 · LAX 22:35 · JFK 01:35
♥ Do have faith in what you're doing.