First of all, I can program but never did any web developing. I am trying to set up a small site with functions like a forum or a textboard. Images dont have to be in it. Has to be without registration. Security is not an issue as it will be used by a small number of people I can trust.
What would the easiest way to implement user generated "threads" (optional) and text (obligatory) be?
I know I can create something like that here. But I want to learn something new and in this case Id have an actual goal while learning something if I made the things by myself as much as possible.
Aaron Rivera
You'll want to use a server-side framework like node.js or django. Just look up a simple chat client in one of those to get an idea of how web requests work.
Looking at these atm and it remembers me of my tries at network games.
James Perry
ignore this faggot
Gavin Wood
well he is being a faggot what with the rust/blockchain memes but tokio isn't a bad choice tbqh
Alexander Davis
ignore this anti Rust shill
shit thread, shit answers tbqh
Juan Jenkins
Not goint to try anything blockchainy but tokio really doesnt seem too bad at first glance.
Elijah Walker
if you get sucked into the rust poz your going to end up regretting it. if you just want an image board just use one that already exists. 8ch is open source.
-You can do it in C with a template library for performance. -You can do it in python/django if you want to get into that whole ecosystem, but performance will suffer -PHP is higher performance but the code isn't going to be useful outside of the website. -Rust on the other hand is a meme language that exists for no other reason than mozilla trying to push their poz where it doesn't belong.
Robert Baker
nice try anti Rust shill
Jose Walker
kill yourself rustkike
Lucas Rodriguez
the anti Rust shill cries out in pain as he strikes you
Cameron Reed
reminder the rust website doesn't even use rust github.com/rust-lang/rust-www it use's jekyll which is written in ruby
Charles Walker
rust-lang.org is just a static site. why should they use Rust? crates.io is written in Rust. github.com/rust-lang/crates.io dumb anti Rust shill
Jackson Phillips
if it's a static site why should they use a site generator written in ruby instead of rust? stupid rust kike.
Camden Gray
because they have better things to do than writing a static site generator in Rust. what would the benefits of a rust rewrite be over the ruby version??? also why did you ignore that crates.io is written in Rust? learn to argument retarded anti Rust shill
Daniel Rivera
wrong
Ian Bailey
that's a good question, one anyone should ask themselves before ever considering rust. why are you trying to change the point? the rust flagship site is written in ruby.
Carson White
wrong
Jaxson Barnes
memory safety, thread safety it's a fucking blog, m8 nice damage control btw, anti Rust shill
fucking anti Rust shills also kill yourself OP. your thread sucks go back to /g/
Jonathan Wright
that doesn't stop the 3 mozilla paid kike's the claim everything should be rewritten in rust, except their homepage site generator i guess, that has to be somewhat reliable.
reminder the rust compiler was written in ocaml which was written in C.
Luis Mitchell
great argument, anti Rust shill reminder the rust compiler was rewritten in Rust
Michael Young
great argument rust kike reminder if they loose the rust compiler they're going to have to rewrite it in C again.
Eli Parker
...
Julian Johnson
spelling in C is less relevant because the vast majority of the code text isn't for the bloated standard library or the disgusting language itself.
Logan Hernandez
LOL
Blake Wright
github.com/rust-lang-nursery/mdBook/blob/master/src/renderer/html_handlebars/hbs_renderer.rs let mut data = serde_json::Map::new(); data.insert("language".to_owned(), json!("en")); data.insert("book_title".to_owned(), json!(config.book.title.clone().unwrap_or_default())); data.insert("description".to_owned(), json!(config.book.description.clone().unwrap_or_default())); data.insert("favicon".to_owned(), json!("favicon.png")); if let Some(ref livereload) = html_config.livereload_url { data.insert("livereload".to_owned(), json!(livereload));} what a beautiful language this is
Juan Cook
can't you anti Rust shills come up with some new shit? this meme is at least a year old now.
wow who would have thought that incremental compilation adds a little overhead to a clean compile in favor of massive speedups for non-clean compiles? also most of these issues use the nightly compiler.
I have a ~8,000 line Rust project that, on my little laptop, takes about a minute to compile on 1.22.1, and 3-4 minutes to compile on nightly. Incremental compilation may take that down 10% or so.If I compile a C project of similar functionality and ~14,000 lines of code, it compiles in 6 seconds. And, most significantly, if I just touch a single file and recompile the project, it compiles in less than half a second....Which C compiler are you using?...That was with gcc. I actually just tried with clang, and it’s about twice as fast at 3 seconds.
Christian Reyes
firefox quantum v60.0b5: 19s microsoft edge: 32s google chrome v65.0.3325.181: 22s
hmmmmmmmmmmmmmmm...
Jose Johnson
Just going off of heuristics, it seems that The Rust shill, Mr. No argument and the guy who shit up the Hawking thread are the same person. Interesting.
Jaxon Gonzalez
you lie
Josiah Long
hmmmmmmmmmmmmmmm...
Ian Morales
no. the benchmark is just shit.
Grayson Martinez
you didn't mention botnet. 2/10
Ian Diaz
link to a single benchmark that shows pozjew is faster than chromium
Luis Robinson
why though? i'm a Rust shill. not a firefox shill.
a cool and useful feature for anyone who has ever grokked data-oriented programming
Josiah Garcia
php has always seemed like a useless middleground, like perl or ruby. either do it in python or do it in C.
Juan Russell
fucking LOL
Jackson Myers
the feature nears the idea of macros.
php is *the* web development language. yeah its horribly designed but there are some good things about it.
Brody Phillips
i know php is way faster than python but if you want to be lazy python has the massive standard library and even more massive selection of 3rd party libraries due to being used in everything. i guess you could always call something else from php. really don't like using django, it's a bloated mess.
Kayden Murphy
Javascript fucked PHP's mother and then made PHP clean it's dick.
Nicholas Morales
That's because PHP runs on your web server and puts all load onto it (apart from rendering the prepared page), while with Javascript you can offload all kinds of shit away from your server to the user's computer where the scripts run. That's indirecltly why web 1.0 era computers are too slow for today's JS-infested web.
Leo Cruz
Lol no it doesn't node.js does.
Justin Carter
There is no way someone this dumb can survive long enough to learn how to use a computer. This has to be bait.
James Ross
PHP isn't webscale. Node.js is. GTFO retarded refu/g/. btw this thread is fucking autistic. Goob job pro/anti rust fags.