Would it be technically possible to make an imageboard software in C...

Would it be technically possible to make an imageboard software in C? I ask because I was thinking for making a 3ds imageboard just for the keks, and I'm pretty sure you have to write 3ds homebrew and custom applications with C.

Attached: Capture10.PNG (441x426, 126.88K)

Other urls found in this thread:

bootstrappable.org/
gitgud.io/zuse/dietchan
github.com/el1372/dietchan
twitter.com/SFWRedditImages

There's literally nothing you can't make with C. Everything that seems more advances is effectively just a layer on top of the same basic functionality that C provides.

WHYDUBUMPLOCKTHETHREADINEDGOODCONSTRCTIVEANSWERSTOMAKE3DSCHAN!

You'll have to do everything from the ground up, it would be a good exercise.

If that's the stage you're at - just learn any programming language.
Not the obscure shit though (no lisp or haskell).

You can't make a safe program, because C isn't memory safe, and the compiler isn't bootstrappable bootstrappable.org/

cringe and bluepilled

Yes. You could make an FTP site that will accept anonymous uploads. Write in an SFTP application to upload images and just include a Qt-webkit browser for viewing shit. That or you can do full autists and make the entire thing a terminal application. I think you could technically do all of this with SSH and BASH scripting when you get down to it. You have SCP to move the image files back and forth and you. I think there are some scripts for SSH bulletin boards and some other applications you can probably modify for images.

I think secure FTP might be an option. The are FTP based chat application that just send a text file back and the application will use cat or for line in file: do print line. Displaying pictures in terminal can be done with applications like FIM.

So yeah all of this stuff could be done in terminal applications that already exist, at least as far as the networking and whatnot is concerned. It's not hard to display an image in a GTK or Qt application.

Start a Github for this OP. Maybe anons will help with code.

I personally hate C so I would probably end up writing the whole thing in Python. But honestly if it's a terminal application I could be done in BASH or any other scripting language. You could probably mock up a TCL/TK GUI easily enough.

IDK. Why C? Every other language is easier to write this in than C?

Topkek

there already is dietchan, available here:
gitgud.io/zuse/dietchan
I translated from german to english here:
github.com/el1372/dietchan

It has to be in C for 3ds. I would right in something else if I could.

Thanks a lot that looks like it might actually work. I'm gonna test how the software is without the 3ds.

Wait how do you install this thing. I tried translating where it said install instructions but it didn't say anything about it.

its a cmake project:
mkdir build && cd build && cmake .. && make && ../dietchan
make sure to have all the deps

Got this and I do hve Visual Studio, I guess I'll try to change some things,
[code]Microsoft Windows [Version 10.0.17134.648]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\user>cmake -DCMAKE_BUILD_TYPE=Release . && make
CMake Error: The source directory "C:/Users/user" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

C:\Users\user>cmake -DCMAKE_BUILD_TYPE=Release . C://Users make
CMake Error: The source directory "C:/Users/user/make" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

C:\Users\user>cmake -DCMAKE_BUILD_TYPE=Release . C://Users make
CMake Error: The source directory "C:/Users/user/make" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

C:\Users\user>cmake -DCMAKE_BUILD_TYPE=Release . && make
-- Building for: NMake Makefiles
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error in CMakeLists.txt:
The CMAKE_C_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.


CMake Error in CMakeLists.txt:
The CMAKE_CXX_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "C:/Users/user/CMakeFiles/CMakeOutput.log".
See also "C:/Users/user/CMakeFiles/CMakeError.log".[code]>>1047005

lol
cd C:\Users\user\project
mkdir build
cd build
cmake ..

if you cant even compile this then I dont think youd have the ability to make a c project

Perhaps its you that can't . Absolutely nothing is done with machine language - you would have to be extremely autistic to write machine language yourself.

Second, what your probably thinking of is the set of mnemonics that constitute are isomorphic to machine language called "assembly language". Virtually nothing is done with assembly except small segments of kernel, critical path routines in performant code (usually in embedded machines), and highly specific driver code.

Virtually everything is done in C, and most libraries are available in C, then exposed as bindings to interpreted languages. Almost certainly, every major web app platform probably makes extensive use of C libraries.

There is nothing that forbids cutting out the middle man and writing your web app in C. There are already people who write web apps in lisp, there are practical reasons why you may not want to do either, but you definitely can, and people have.

One reason you might not want to write a webapp in C, is that it will be exposed to untrusted and hostile input, and its easy to make mistakes in C.

Also, writing your web app in C will not overcome the limitations of the client, so you might mean making a client and server app, which is totally fine, if you want more open ended functionality - except, I will never download and run a proprietary executable client on muh linux, specially not from a random user - so a server + webgl in browser might be your best bet.

this one's going in my cringe compilation

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

Mods are kikes. Why are they deleting my posts?

I smell rats.

Judensheim pls go