!WARxfvmkfaLcyQiwFg:matrix.org

TUNA 技术群

1047 Members
一个连 Vim 和 Emacs 用户都能兼容并包的协会,一个脱离了低级趣味的协会。本群禁水,灌水请到 #tuna-random:matrix.org5 Servers

Load older messages


SenderMessageTime
8 Mar 2021
@telegram_593544416:elv.shdramforever (Telegram)如果真的需要这个速度的话16:44:16
@telegram_593544416:elv.shdramforever (Telegram)
In reply to dramforever (Telegram)
如果真的需要这个速度的话
(比如你背后的算法是 O(数据长度) 的,而且常数比较小
16:44:39
@telegram_130815964:elv.shkevin335200 (Telegram)我记得这个争论来争论去还是得看具体场合16:44:40
@telegram_593544416:elv.shdramforever (Telegram)profile!16:44:55
@telegram_593544416:elv.shdramforever (Telegram)遇事不决 profile16:45:00
@telegram_564950314:elv.shiBugOne (Telegram)是的,mmap 意味着你的程序跟 Windows 没啥关系了16:45:06
@telegram_564950314:elv.shiBugOne (Telegram)
In reply to iBugOne (Telegram)
我的建议是,除非你是在搞 systems programming,否则不要纠结这些奇怪的地方,老老实实 malloc + fscanf/read 没啥问题
16:45:20
@telegram_593544416:elv.shdramforever (Telegram)感觉没什么可争论的16:45:39
@telegram_593544416:elv.shdramforever (Telegram)反正就那几种方案16:45:43
@telegram_593544416:elv.shdramforever (Telegram)一般你看哪个喜欢就用哪个就完事了(16:45:58
@telegram_593544416:elv.shdramforever (Telegram)然后 profile(16:46:03
@telegram_761552993:elv.shRafael (Telegram) Yay! The FOSSASIA #Virtual Summit 2021 has confirmed 160+ speakers, 150+ sessions, 30+ workshops, 5 keynotes, panel discussions #FOSS #OpenSource #OpenHardware #AI #Cloud #Robotics #Blockchain #DevOps #Linux #PSLabio #Python #Security #eventyay #online #onsite in #SG

FOSSASIA线上峰会2021本周末举行,有超过160个演讲嘉宾,150多场演讲,30多个workshop,5个keynote和访谈。
主题有#开源 开源硬件 #AI #云 #机器人 #区块链 #运维开发 #Linux #PSLabio #Python #安全 #evventyay #线上 #线下 #SG

https://blog.fossasia.org/fossasia-virtual-summit-2021-schedule-and-highlights/
16:53:05
@telegram_761552993:elv.shRafael (Telegram) changed their display name from Rafael [T] to Rafael (Telegram).16:53:06
@telegram_687494640:elv.shStevenSun18 (Telegram)搞定了17:25:32
@telegram_786555763:elv.shcuihao (Telegram)image.jpeg
Download image.jpeg
18:39:55
@telegram_786555763:elv.shcuihao (Telegram)开了 eslint 这么吓人的么18:39:55
@telegram_786555763:elv.shcuihao (Telegram)一个马马虎虎的语言,linter 怎么比 PEP8 事儿还多(18:40:18
@telegram_564950314:elv.shiBugOne (Telegram)有个东西好像不支持 ES618:40:26
@telegram_564950314:elv.shiBugOne (Telegram)也可能是我记错了,是不是 uglify / uglifyjs18:40:47
@telegram_53423850:elv.shxiaoxing (Telegram)
In reply to cuihao (Telegram)
一个马马虎虎的语言,linter 怎么比 PEP8 事儿还多(
就是因为这语言太马马虎虎了
18:41:20
@telegram_53423850:elv.shxiaoxing (Telegram)没个 linter 能写出回字的4种写法,还有一种是有 xss 漏洞的18:41:45
@telegram_314719453:elv.shrunapp (Telegram)
In reply to iBugOne (Telegram)
是的,mmap 意味着你的程序跟 Windows 没啥关系了
windows也有mmap嘛
18:43:35
@telegram_564950314:elv.shiBugOne (Telegram)
In reply to runapp (Telegram)
windows也有mmap嘛
那套东西可复杂了
18:49:24
@telegram_564950314:elv.shiBugOne (Telegram)你要获取 Windows 的文件句柄,CreateFileMapping 然后才能 MapViewOfFile18:49:57
@telegram_564950314:elv.shiBugOne (Telegram)而且参数什么的也比 POSIX mmap 复杂18:52:08
@telegram_314719453:elv.shrunapp (Telegram)找个兼容层,不知道mingw提供了没……19:13:05
@telegram_314719453:elv.shrunapp (Telegram)果然没,有一些可选的,或者直接msys19:17:35
@telegram_751414718:elv.shlcMenci (Telegram) https://github.com/m-labs/uclibc-lm32/blob/master/utils/mmap-windows.c 19:19:36
@telegram_314719453:elv.shrunapp (Telegram)这么说来其实win上也能exec,无非就是自己跑一遍pe加载流程…19:24:55
@telegram_314719453:elv.shrunapp (Telegram)之前查这个问题的时候完全忘记了cygwin/msys19:26:50

There are no newer messages yet.


Back to Room List