4 ms·
Right now, it's just a framework for building backends. So yes, server-side applications. However, I have thought about implementing a templating engine for ser
by ashtonjamesd 1y ago
Right now, it's just a framework for building backends. So yes, server-side applications. However, I have thought about implementing a templating engine for serving HTML files.
- sixtyj 1y agoEdit: I am considering to delete the following paragraph as it seems that my hands were quicker than my brain :) I'm sorry, but it's like scratching your left ear with your right hand. But for fun, yeah, there are worse things people do. Good luck and have fun. Now here's where most of us will probably be sarcastic, but it's certainly a good way to explore whatever others consider bullshit. Edit: Pls read the following comment. I would hire him/her because I consider this as a waste of OP skills and he/she would be useful in many more projects. TLDR; it was not a hate. I am sorry if it sounds so.
- ashtonjamesd 1y agoTrue. Also, I love the C language and I don't get joy out of writing in many other languages. Additionally, I've wanted to make something like this just to learn more about how web servers work. I appreciate your thoughts.
- sixtyj 1y agoIt is not about threat. It is about that life is too short to do things that are almost nonsense. Ofc everyone of us consider “nonsense” in different way. I wish OP good luck. It was not sarcastic, I really do, and would like to hire him/her for the skills. But for mankind, this project is almost useless… I apologize if this sounds harsh.
- ashtonjamesd 1y agoThat's fair. And I do agree. The use cases for something like this are very thin compared to what tools you can use out there instead, Django, Rails, Express, etc. All of which offer a much safer development experience. However, I still believe it will have a use case for some.
- sixtyj 1y agoYou are right. But I really think if you know C lang (all of Python or PHP people could be jealous :) - you can easily focus on something a little bit important/useful that will have impact on humanity. You have a great potential if you can “see code” and have logical thinking deep inside. Not too many people have it. Elon Musk said once that all those innovations are redeemed by the tremendous efforts of all the engineers. So I appreciate everyone who can do something.
- seanssel 1y agoOh please, get off the weird high horse. I find this comment to be “nonsense”. What projects are you working on now, for mankind?
- sixtyj 1y agoWhy are we alive? To be useful. Not happy all the kind. Everyone wants to be useful. I am not doing anything special but I do inform our community (“mankind”) for 25 years… And I feel useful because I am good at it. “Mankind” can be a group of other people. Edit: What people value the most? Compliments. So if you are useful and receive compliments, you will eventually be happy. But ofc you can be happy without being useful, for sure.
- deleted 1y ago[deleted]
- chrsig 1y agoto be useful to whom, exactly?
- sixtyj 1y agoTo other people, of course.
- jacquesm 1y agoOP has done more to be useful to other people than you did in this particular thread. Ok, so what if it has been done many times before, this is his, it may not be perfect and it may not be immediately useful to you. But it increased his knowledge and he shipped, which is more than I can say for 95% of my own projects, so that's impressive by itself. He also opened himself up to criticism and takes it all in stride, which is another fairly scary but powerful thing to do. Fun fact: I've built something very much like this that powered a number of programs that I sold over the years and it was written when I wasn't nearly as good of a programmer as I am now (take off 30 years of additional experience). If I look at OP's code there are a whole raft of nitpicks but there isn't anything immediately and obviously wrong with it and just speaking for myself, that is surprising because most people's C code is - and I'm being generous here - absolutely terrible. This has potential, but I'd have to really dig in to see how solid it is and I don't have time for that right now, but I've seen far worse code than this.
- kjs3 1y agoIt doesn't sound 'harsh'. It sounds 'condescending', especially when paired with a completely insincere "I apologize...". It is about that life is too short to do things that are almost nonsense. Jeez you must be a real joy to be around for the folks unfortunate enough to have to. /s
- sim7c00 1y agolove this sentiment. i cant really write in other languages. i try but always C ends up the choice :'). slow going but happy going
- password54321 1y agoWhy do web developers feel threatened that someone just built a web framework for fun?
- jermaustin1 1y agoAs a web developer who's first paid web site was in 1998 when I was 10-years-old, my favorite thing to do in my spare time is build web frameworks that I will never use. - I've done CSS frameworks that replicate most of bootstrap that I use. - I've made client-side reactive web-components (kind of) that almost replaced the parts of react that I like. - I've built bespoke HTTP servers countless times since the VB6 days. - And I've written my own MVC engines probably a half dozen times, just to learn a new language or library. All of that to say, it isn't web devs who are threatened, it is developers who don't want to learn the underlying technologies that power the libraries and frameworks they use. I actually see no fault in being that way. I've know tons of decent-to-good developers that have no desire to understand HTTP or Vanilla JavaScript, and they still do great work tying systems together. It's all about the kind of learner you are. Do you want depth, breadth, or a mixture of both (but always lacking in both - aka me).
- sixtyj 1y agoThat is what I wanted to say too… but I did it wrong way in previous comment.. oops
- jermaustin1 1y agoWe all trip up on our words sometimes. To err is human.
- jermaustin1 1y agoAn old boss of mine was an early developer for match.com, their entire web app was a monolithic C application, and, if I'm not mistaken, an ISCSI shared file-system based "database".
- sixtyj 1y agoAll big projects eventually have a specific background. I totally agree. Sometimes it works. Other times it doesn't work in long term and the cursed technology debt catches up with the company.
- Hackbraten 1y agoThis can be super useful for IoT or embedded devices with web interfaces but restricted resources.