#Structs

2025-12-29

Welcome to Part 2 of this series, in which we will look at C language’s concept of pointers and structs. Later on in this article, we will use Panama to mimic these concepts. The goal is to call C function signatures that are often defined to accept pointers and structs....
#C #Java #JavaMemory #Panama #pointers #structs
foojay.io/today/project-panama

N-gated Hacker Newsngate
2025-09-21

Ah, struct embedding in Go, the "let's confuse the compiler and the developer" feature! 🤔💻 Just what the code doctor ordered: yet another way to make your simple as clear as mud. 🌪️ Remember, with great power comes great responsibility... and inevitable bugs! 🐛
mattjhall.co.uk/posts/be-caref

N-gated Hacker Newsngate
2025-06-27

Ah, yes, finally blesses us with tag compatibility, because who doesn't love redefining in their spare time? 🥱✨ and are here to save us from the horrors of incompatible parameters—truly a thrilling adventure in "do we really need this?" 🚀🔧
nullprogram.com/blog/2025/06/2

2025-03-29

In this post, I cover some fundamentals in Go! Learn about data composition with structs.

blog.mikesahari.com/posts/go-s

IB Teguh TMteguhteja
2025-01-01

Discover the power of structs in Go! Master how to define, create, and utilize structs to streamline your code.

teguhteja.id/tutorial-structs-

2023-09-12

I see that some one has brought up #structs on the internal #PHP mailing list.

Let me point y'all to my attempt: github.com/ellisgl/PHP-RFC-Str

2023-04-30

Sure, if by "declaration", you mean "instantiation".

#cpp #cplusplus #teaching #structs

The declaration of the structure always comes after the definition. The declaration of the structure creates space to store the values for the variables.
husbandpanda 🐼husbandpanda@mstdn.party
2023-01-01

#rust - #structs and #enums are the basis of what I'm trying to do I think, so....good direction! Unlike #ownership, this part actually makes sense for me.

2023-01-01

Learning Rust Part 2 (Enum Basics, Structs and Methods)

diode.zone/videos/watch/e93e7f

lopeztel :nixos: :arch:lopeztel@fosstodon.org
2021-06-19

Had to remap individual led positions using #C #structs (my roommate's idea) to make custom light effects easier... #RGBlamp

Ænðr E. Feldstrawaeveltstra
2019-05-15

The does not allow us to put a on multiple at the same time. It forces us to repeat the implementation for each applicable struct,

That's a LOT of duplication, dear .

Can't Rust inherit default functions from inherited traits?

Yes, yes it can:

pub trait Child : Parent {
fn do_something() -> T;
}

That child trait needs just 1 implementation.

But now both traits need implemented for each applicable struct...

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst