I've been thinking about social constructs a lot and doing a lot of research into them, and I've basically come to support the idea of constructivism: that essentially all of reality is a social construct, and that everything only exists through our subjective experience of it. That even science itself is our constructed understanding of the physical world, not the physical world itself. That basically everything new we experience is manipulated by the context of our own previous experiences, which is both shaped by and shapes our understanding of the world.
I think this understanding is important, because it disproves all arguments that essentially go "that's just the way it is", or otherwise try to root themselves in alleged objective truths about the world. For example, transphobes have used sex (as opposed to gender) as "objective" so they can argue about fairness in sports or some other transphobic bs. But our definition of sex is just as subjective - socially constructed - let alone any notion of fairness in sports being at all objective.
But on here, with everyone talking about materialism vs idealism, it sure seems like constructivism is the same idea as idealism, which Marx et al argued against. I've read through the prolewiki pages on idealism and dialectical materialism and it seems its just the part about objective reality that I disagree on. e.g. I agree with all but the first bullet point in the list in the introduction of https://en.prolewiki.org/wiki/Dialectical_materialism.
To put the sex and gender example above in idealist vs materialist terms, I think my understanding is that an idealist would argue that sex and gender are subjective, and that by changing our ideas about sex and gender we can make material change on things like trans rights. A materialist would argue that there is an objective natural phenomena that we refer to as sex, but that that phenomena is in constant motion and by guiding that change we can change our ideas of sex and gender. To me, the idealist just makes a lot more sense here, but I'm frustrated by that because apparently Marx considered materialism a foundational theory for leftist ideologies, and I don't know how to reconcile this.
The idealist would look at patriarchy, racism and capitalism and naively conclude, that at some point our thinking went wrong. That the wrong ideas got popular, because people just happens to be wrong about them. A constructivist idealist might propose changing how we think about stuff to change these bad ideas.
A materialist, would realize that, patriarchy, racism and capitalism are more than bad ideas but really oppressive power structures with very real grounding in material contradictions in the way society is materially reproducing itself. As such, attacking them merely in the realm of ideas without also changing those structures, is doomed to fail.
For example the current rise of fascism, which threatens trans people, is not solely a consequence of people believing bad ideas, but a reaction of the ruling class to the growing crisis tendencies in a falling empire, which the materialist can ultimately trace back to things like the tendency of the rate of profits to fall. That's why fascism will never be defeated under capitalism.
However, you can still think of constructivist techniques as useful tools for deconstructing oppressive structures and narratives, even while being a materialist.
The Marxist author Silvia Federici in her work "Caliban and the Witch" explains how emerging capitalism needed to enforce a gender binary, sexism and the separation of wage labor in the factories and unpaid reproductive labor at home (reproducing the ability to work). She treats it as a form of primitive accumulation similar to the enclosure of the commons and colonialism. This helped to provide capital with the push to get started and also served to divide the working class.