当前位置:网站首页>Why choose f for the back end of dark website? - darklang
Why choose f for the back end of dark website? - darklang
2020-11-09 00:38:00 【On jdon】
Dark Is a website that provides the construction of server free back end , Use the site features , Just write your back-end code , There will be no infrastructure , Deployment or deployment nightmare . Today's back-end languages that support these functions will start with OCaml Migrate to Dark. Here is their experience sharing :
Dark The back end of is 37K Yes OCaml, among 8K Yes, it's a test , and 10K Line is Dark Standard library . therefore , There are about 2 Ten thousand lines of code need to be transplanted . It should be fun .
At first, I wanted to choose Rust Language .Rust With great tools , Perfect library , A pleasant community, etc . But it took about a month , I can't say I like to write Rust. especially , I don't like being in Rust Write asynchronous code in . I like to have a good high-level language , Be able to meet the requirements of building like Dark A project of the same size , however Rust It's not like that . Next , I will post “ Why? Dark Why not choose Rust”. Or I can call it “ You will never believe how much the garbage collector has done for you !”.
and F# And OCaml Close enough to , With strong library support , And so far , Tools are powerful and bad combinations .90 s Microsoft Tools still exist , And the function is not so good yet , But on the whole , This is more than OCaml or Rust Better .
F# Actually, too. OCaml. By the world's largest 、 The most experienced creators of programming languages provide support .OCaml Great place F# It's also great ! Sum type 、 Static type 、 Execute now 、 The Conduit 、 Immutable values and so on, all of which is really great .
Of course , I choose .NET The main reason is because of its library . Has a library for all content , It's amazing . Although not too many F# First party Library , But every supplier there has one .NET SDK, You can directly from F# Use it in . I'm looking forward to the end of Honeycomb,Rollbar and Google Cloud Provide first party support .
Another thing I really like is the quality of documentation and community content .OCaml A lot of the community is about the language and what you can do with it . Enterprise software developers have millions of blog posts, etc , They're talking about building Web The best way to do software .
版权声明
本文为[On jdon]所创,转载请带上原文链接,感谢
边栏推荐
- 云计算之路-出海记-小目标:Hello World from .NET 5.0 on AWS
- Test comparison of three domestic cloud databases
- 梁老师小课堂|谈谈模板方法模式
- VIM Introduction Manual, (vs Code)
- 你有没有想过为什么交易和退款要拆开不同的表
- Have you ever thought about why the transaction and refund have to be split into different tables
- 移动大数据自有网站精准营销精准获客
- What are the basic requirements for big data posts?
- Combine theory with practice to understand CORS thoroughly
- 计算机网络 应用层
猜你喜欢
实现图片的复制
移动大数据自有网站精准营销精准获客
On buffer overflow
Esockettimeout solution in request in nodejs
Copy on write collection -- copyonwritearraylist
C / C + + Programming Notes: pointer! Understand pointer from memory, let you understand pointer completely
Core knowledge of C + + 11-17 template (2) -- class template
Why need to use API management platform
The vowels in the inverted string of leetcode
A few lines of code can easily transfer traceid across systems, so you don't have to worry about losing the log!
随机推荐
leetcode之反转字符串中的元音字母
Fiddler无法正常抓取谷歌等浏览器的请求_解决方案
Travel notes of csp-s 2020
14.Kubenetes简介
基于链表的有界阻塞队列 —— LinkedBlockingQueue
表连接
Dynamic relu: Microsoft's refreshing device may be the best relu improvement | ECCV 2020
Common feature pyramid network FPN and its variants
你有没有想过为什么交易和退款要拆开不同的表
基于链表的有界阻塞队列 —— LinkedBlockingQueue
STS安装
上线1周,B.Protocal已有7000ETH资产!
移动大数据自有网站精准营销精准获客
几行代码轻松实现跨系统传递 traceId,再也不用担心对不上日志了!
Octave basic syntax
API部分的知识点复习
Flink的DataSource三部曲之三:自定义
Nodejs中request出现ESOCKETTIMEDOUT解决方案
代码保存
上线1周,B.Protocal已有7000ETH资产!