Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Add FaF (rust) framework - #6491

Merged
NateBrady23 merged 6 commits into
TechEmpower:masterfrom
errantmind:master
Apr 4, 2021
Merged

NateBrady23 merged 6 commits into
TechEmpower:masterfrom
errantmind:master

Conversation

@errantmind

Copy link
Copy Markdown
Contributor

Add FaF (rust) framework

@fafhrd91

Copy link
Copy Markdown
Contributor

to me this doesnt look like framework

@errantmind

Copy link
Copy Markdown
Contributor Author

I suppose that depends on your criteria for a framework. It is minimal, but I think it would satisfy basic criteria. It it an event loop which parses the complete HTTP request and passes everything to the 'user' in a callback who can define the response how they want. I'd like to get this merged ASAP for testing so if there is a concrete issue please let me know.

@fafhrd91

Copy link
Copy Markdown
Contributor

sure, you can call framework anything that provides callback. but to me this still looks like bunch of low level code.

@errantmind

errantmind commented Mar 27, 2021 •

Copy link
Copy Markdown
Contributor Author

I generally appreciate feedback but I don't see how that is a useful criticism. The goals / values for this framework are speed and simplicity of design. If it is 'low level', it is because it has very few dependencies: it implements its own event loop and manages its own threads, which is going to be 'low level' by definition. Is this because it is a source distribution and not a regular library?

@NateBrady23

Copy link
Copy Markdown
Member

Hi @errantmind,

Is it possible to get a lot of this low level code in a lib/crate so it's not all committed here? Could you also tie this down to a specific version, not latest: FROM errantmind/debian-faf

@errantmind

Copy link
Copy Markdown
Contributor Author

@nbrady-techempower Sure, I made the changes

@NateBrady23
NateBrady23 merged commit 5e1032e into TechEmpower:master Apr 4, 2021
andreasrueb pushed a commit to digitallyinduced/IHP-FrameworkBenchmarks that referenced this pull request Apr 13, 2021
* add faf framework

* add faf framework

* clean up code and slight reorg

* add HTTP methods and cleanup

* converted to a library format, updated docker to point to a tag, generally simplified

* simplified README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants