The maintainer of the Actix web framework, written in Rust, has quit the project after complaining of a toxic web community - although over 100 Actix users have since signed a letter of support for him.
Actix Web was developed by Nikolay Kim, who is also a senior software engineer at Microsoft, though the Actix project is not an official Microsoft project. Actix Web is based on Actix, a framework for Rust based on the Actor model, also developed by Kim.
The project is open source and while it is popular, there has been some unhappiness among users about its use of "unsafe" code. In Rust, there is the concept of safe and unsafe. Safe code is protected from common bugs (and more importantly, security vulnerabilities) arising from issues like variables which point to uninitialized memory, or variables which are used after the memory allocated to them has been freed, or attempting to write data to a variable which exceeds the memory allocated. Code in Rust is safe by default, but the language also supports unsafe code, which can be useful for interoperability or to improve performance.
Actix is top of the Techempower benchmarks on some tests
(Score: 2, Disagree) by Bot on Thursday January 23 2020, @11:21PM (6 children)
>Put in unsafe C++ code and then slowly transition to the safe stuff
This does not make sense for web frameworks. You first need to be safe at all costs! If you are slow, well you can throw more servers at it till you take the safe and well defined bottlenecks and you optimize them and you test against the old safe routines for misbehavior.
Account abandoned.
(Score: 2) by barbara hudson on Thursday January 23 2020, @11:40PM (4 children)
Fun fact - pho also allowed you to open the socket and read the bytes directly, parsing them in real time, to make sure nobody tried to do a buffer overflow, but again nobody does it, then bitches over buffer over/underruns.
There's nothing inherently wrong or unsafe with c if you are willing to put the work in. Too bad most devs don't even know what's possible, never mind how.
SoylentNews is social media. Says so right in the slogan. Soylentnews is people, not tech.
(Score: 2) by coolgopher on Friday January 24 2020, @12:49AM (3 children)
CGI sounds classier when spelled out.
(Score: 3, Insightful) by barbara hudson on Friday January 24 2020, @01:49AM (2 children)
But then people will confuse it with computer-generated images. Now maybe some of them will go "WTF is Common Gateway Interface [wikipedia.org]" and consider the possibilities thereof? And how you don't need any special web framework or scripting language - just code that can read from stdin and write to stdout.
SoylentNews is social media. Says so right in the slogan. Soylentnews is people, not tech.
(Score: 2) by coolgopher on Friday January 24 2020, @02:13AM (1 child)
Yeah but as soon as the kids see the spec is from 93 they'll tune out...
How's support for cgi these days anyway? I'm still keeping an apache2 around that handles my cgi needs, though most other bits are handled by nginx.
(Score: 2) by barbara hudson on Friday January 24 2020, @02:31AM
SoylentNews is social media. Says so right in the slogan. Soylentnews is people, not tech.
(Score: 0) by Anonymous Coward on Saturday January 25 2020, @01:24AM
Then don't use it until enough unsafe code is removed for your taste. That problem is solved, and I'm glad it is because it was such a difficult solution to find. But, as I mentioned, the designers purposefully allowed for such a transition strategy and the big names in Rust keep trying to tell people to transition to it that way.