[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

How do I program something this fucking small without java it's

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 21
Thread images: 3

File: indosidjfoidsjfex.jpg (7KB, 259x194px) Image search: [Google]
indosidjfoidsjfex.jpg
7KB, 259x194px
How do I program something this fucking small without java it's impossible. What language do I use?
>>
Mini C
>>
just looked it up and I think you can use arudino or python
>>
>>61635963
assembly, pajeet. what architecture?
>>
just do what the entire nation of india does (when not street-shitting) and do it in node
>>
Forth
>>
>>61635963
there is even an 8-bit java VM, you retarded monkey nigger. Educate you'reself.

http://www.harbaum.org/till/nanovm/index.shtml
>>
>Without Java
Very easily. Just use C... or C++... or Rust... or really any systems language. In all seriousness, why would you want to use a language dependent on a bloated runtime to run on such a small device?

>>61635975
Arduino is a hardware platform, not a language.
>>
>>61636045

Java can run on a crazy number of crappy devices. Whether it SHOULD run on said devices is another question altogether.
>>
>>61635963
Use ThinkPad, Arch and Haskell advanced pajeets like it.
>>
>>61636052
>Arduino is a hardware platform, not a language.
except that it is a language onto itself.
Just because that langauge is a set of C/C++ doesnt mean it is not it's own language.
>>
>>61636052
>>61636073
Oh, you made a little mistake there.
https://www.youtube.com/watch?v=YgHNtzxO0y8
>>
>>61635963

some manufactures have a dedicated C compiler for their chips. if they don't, then you are left with ASM for that platform.
>>
found you an instruction set, pajeet

www.atmel.com/Images/Atmel-2586-AVR-8-bit-Microcontroller-ATtiny25-ATtiny45-ATtiny85_Datasheet-Summary.pdf
>>
File: generdsdfdsfate.png (139KB, 500x700px) Image search: [Google]
generdsdfdsfate.png
139KB, 500x700px
>>61636022
>>
>>61636052
what stops someone from using the java language and compiling it directly into machine code instead of java byte code?
>>
>>61636207
t. don't understand how java works
>>
>>61636220
no you
>>
I just cant do it on such a tiny computer its not possible. I don't wanna learn c and fortran that shit is too hard
>>
File: Untitled-1.jpg (279KB, 1080x1920px) Image search: [Google]
Untitled-1.jpg
279KB, 1080x1920px
>>61635963
look around and see what's available for it - C, C++, lua, python, asm etc.
>>
>>61636091

The language used in the Arduino IDE is not a subset or superset of either C or C++. It literally is just C with some extra macros. It is not compiled with a specialized compiler that has to be used for this particular set of the language, it is compiled with avr-gcc. That's right, just regular old GCC, no funny business.

This is not like RobotC, where there are a few changes to the language; this is just straight C.

>>61636207

This is entirely possible, but it defeats the purpose of using Java.

>>61636741

>Fortran
It is highly unlikely that your use case merits the use of Fortran.

>C
Not hard at all. You have structs, unions, functions, pointers, basic data types, basic control flow structures, text substitution macros, and not much else. There's not too much to learn, and the syntax is pretty simple in most areas.
Thread posts: 21
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.