3 ms·
>MCP server (requires Boost) I see stuff like this, and I really have to wonder if people just write software with bloat for the sake of using a particular lib
by ActorNightly 1y ago
>MCP server (requires Boost)
I see stuff like this, and I really have to wonder if people just write software with bloat for the sake of using a particular library.
- pessimizer 1y agoBoost is a nearly 30 year old open source library that provides stuff for C++ that most standard libraries for other languages already have out of the box. You seem to think that it is hipster bullshit rather than almost a dinosaur itself.
- SJC_Hacker 1y agoBlame the committee for refusing to include basic functionality like regular expressions , networking and threads as part of the STL
- ActorNightly 1y agoI feel like there are pretty standard C++ server implementations that are less bloated.
- SJC_Hacker 1y agoThere might be, but as of a few years ago they were not mature and may not have captured the mindshare yet. Company I worked for actually used websocketpp because Boost ASIO implementation had some bug they couldn't work around, but then it was fixed and we dropped websocketpp. I can say one the the nice thing about Boost network implementation (ASIO) is fairly mature asychronous framework using a variety of techniques. Also if you need HTTP or Websockets you can use Beast which is built on top of ASIO. And if you're using one thing from Boost, its easy to just use everything else you need and that Boost provides to minimize dependencies.
- menaerus 1y agoThe reason for depending on Boost in this repo is just few search characters away - he needs HTTP/WebSocket implementation and Boost.Beast provides it. The actual bloat here in this repo is conan.
- ActorNightly 1y agoMy experience with Boost has been template metaprogramming hell.
- SJC_Hacker 1y agoFor its credit though, it follows the C++ "philosophy" fairly faithfully. If you don't like Boost you probably don't like C++ either. Although that download is a monster, I think its like 1.6 GB even compressed. Its not modular at all, some of the modules depend on others and its impossible to separate them out (they've tried in the past) But last I check there is ALOT they could have removed, especially support for older compilers like MSVC 200x (!), pre C++ 11/older GNU compilers, etc. without compromising functionality. I'm not if they got around to doing that.
- noodletheworld 1y ago? Are you complaining about MCP or boost? It’s an optional component. What do you want the OP to do? MCP may not be strictly necessary but it’s straight in line with the intent of the library. Are you going to take shots at llama.cpp for having an http server and a template library next? Come on. This uses conan, it has a decent cmake file. The code is ok. This is pretty good work. Dont be a dick. (Yeah, ill eat the down votes, it deserves to be said)
- airstrike 1y agoThis feels like a shallow dismissal, which is frowned upon per the HN guidelines