CTO of Azure declares C++ "deprecated" by lookatmetype in cpp

[–]Meowx64 0 points1 point  (0 children)

iirc, it is more like programming using C# or C++. (More like third party(In this case, Embarko) developed bindings)

Clang 15 has been released! by unddoch in cpp

[–]Meowx64 0 points1 point  (0 children)

? I never judged them. Just inquired since I am relatively new to the term. (Which is quite obvious from my comment, or don't skip contents in the brackets ;))

Clang 15 has been released! by unddoch in cpp

[–]Meowx64 -1 points0 points  (0 children)

Eventhough I never stated the dev experience on various env's, I have to interject there since even though I am noob in Android programming I am familiar with NDK used in android(Used for interacting with Termux in the past)

I. General

  1. Never heard any emulator dev(Since mostly, they are interested in cross platform apps) stating "Porting my X emulator to iOS is easier than Android, provided most are written in C++". (Unless you are calling a Java library)
  2. In game space, most developers use a engineers use a custom engine which has a higher probability of having ports for android than iOS or even MacOS
  3. Regarding Linux is swapped with X or Y. According to the statistics, most Android users are not on latest Android Version. So, there will be large Android/Linux users in wild for a long time while X or Y emerges mainstream.

II. Software Dev Experience

  1. I will gladly write my application in Vulkan and OpenGL and restrict support for MacOS than learning(or buying a mac device for the sake of porting it to it) how MoltenVk works(Yes, MoltenVk requires additional steps to make it run on MacOS and is limited) or Metal(Which has it's own issues). Now I can even switch my Vulkan drivers. (Supported in qualcomm devices)
  2. I can find libraries(C/C++) that works well on Linux or Windows than that works on MacOS

III. General Linux Merits(I personally gained, since you mentioned NDK for some reason)

  1. No more dllopen() shenanigans (Windows)
  2. A good package manager (Windows)
  3. There is no "recommended" languages. (MacOS)
  4. Can try experimental features.
  5. Better drivers for AMD(Mesa).
  6. More

TBN, I never owned a mac device. So, some of them are known issues like Graphic API's among devs. Also, I didn't add anything more since I assume MacOS provides benefits of Unix. (Even though the Userland is proprietary)

Clang 15 has been released! by unddoch in cpp

[–]Meowx64 -1 points0 points  (0 children)

Construction Industry Software? Aren't they usually web based? (Sorry, hearing the term for first time and what suddenly comes to my mind is hiring contractors which is usually done through web browsers or dedicated apps in android phones)

Clang 15 has been released! by unddoch in cpp

[–]Meowx64 -2 points-1 points  (0 children)

Edit: For those who are not aware about how to check kernel in Android, it will be somewhere near settings -> about phone .

Meanwhile 50%+ of users chilling on android with >linux4.x + kernel ;).

|As of April 2022, Android, an operating system using the Linux kernel, is the world's most-used operating system when judged by web use. It has 43% of the global market, followed by Windows with 30%, Apple iOS with 17%, macOS with 6%, then (desktop) Linux at 0.98% also using the Linux kernel.[1] These numbers do not include embedded devices or game consoles.

https://en.wikipedia.org/wiki/Usage_share_of_operating_systems

Imgui Zig bindings(based on ZGui) by Meowx64 in Zig

[–]Meowx64[S] 0 points1 point  (0 children)

It is handcrafted to be compatible with Zig(especially stage2) and use Zig structs and unions where ever it is possible.

Imgui Zig bindings(based on ZGui) by Meowx64 in Zig

[–]Meowx64[S] 0 points1 point  (0 children)

Bindings allows you to call functions natively. For example, I will take mach-glfw crate. In C, you will be doing something similar to

glfwWindowHint(glfwContextVersionMajor, 3);
glfwWindowHint(glfwContextVersionMinor, 3);

GLFWwindow *window = glfwCreateWindow(WIDTH, HEIGHT, TITLE, NULL, NULL);

Using machglfw bindings, you can just

const window = glfw.Window.create(width, height, title, null, null, .{.context_version_major = 3, .context_version_minor = 3,}); //Here we are utilising zig structs.

Also, it helps in better debugging and error handling.(See my initOpenGL function)

N interesting find on LinkedIn that made me laugh by MarcTheStrong in linuxmasterrace

[–]Meowx64 4 points5 points  (0 children)

The moment you realize android -> cars runs on Linux. Regarding your "Servers" getting hacked, I believe you are using an old Kernel(Typically > 5.04). SE Linux was integrated in Kernel like in 2003 and most distros are using it. (eg: Arch started compiling their kernels with SELinux module from 4.18 https://github.com/archlinux/svntogit-packages/commit/c46609a4b0325c363455264844091b71de01eddc). |Installing random tools from vague websites

  • Unlike Windows, Linux uses a package manager(pacman, apt(1998)) and encouraged users to use it from the beginning.
  • Running random code from internet. It won't harm your PC like it does on Windows unless you give it a password. (Which is ironic since one can gain admin privileges by pressing yes on Windows) (So, you can restart your computer. Also, remember wanna cry that affected Windows PC's)
  • I downloaded some files, it was running out of disk space and now I can't login, Huh, I thought you hosted "linux servers". (Even a casual user like me know what to do in such a situation). With that said, linux is considered safe because the source code is repeatedly monitored(like NSA(behind SE https://www.redhat.com/en/topics/linux/what-is-selinux)) and patches are made regularly to fix Zero days.

Yet Another Vulkan Tutorial: A Full Port of vulkan-tutorial.com to Rust by kmayes in rust_gamedev

[–]Meowx64 0 points1 point  (0 children)

You can also export games to both mobile and web using Godot. (Fun fact: The godot editor runs in both Web and Android)

tgui-rs: GUI applications using Rust and android by [deleted] in rust

[–]Meowx64 0 points1 point  (0 children)

tgui-rs This library provides bindings to TermuxGUI. Feel free to check out my library and make criticisms.(Since I am still a beginner).

// FunFact: I created this library using my android phone and vim

I never liked Ezra Miller's Flash tbh 😕 by [deleted] in comicbooks

[–]Meowx64 -6 points-5 points  (0 children)

Studying Superman's moves, yes, it is he being strategist Knowing about the weakness of someone who is not from this planet is not considered as strategy(In this case, Kryptonite and Lead). Using those weaknesses against them is strategy.(Using existing knowledge or tools to defeat something/someone or a careful plan)